diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-12 12:24:30 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-12 12:24:30 +0000 |
commit | 06d1e5c2b6218c591d6b34259563fefa3cdc9e3e (patch) | |
tree | 4afd61f9b5bc7847c24523a4d61fd50e89cda56f | |
parent | c8aee695c50f879186ca5f9cbaefb076a0d0343f (diff) | |
download | ffmpeg-06d1e5c2b6218c591d6b34259563fefa3cdc9e3e.tar.gz |
gcc 2.95 fix
Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 207701f1b5..a6dc825b0a 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1763,7 +1763,7 @@ static int try_decode_frame(AVStream *st, const uint8_t *data, int size) #define MAX_STD_TIMEBASES (60*12+3) static int get_std_framerate(int i){ if(i<60*12) return i*1001; - else return (int[]){24,30,60}[i-60*12]*1000*12; + else return ((int[]){24,30,60})[i-60*12]*1000*12; } /** |