Commit 06d1e5c2 authored by Michael Niedermayer's avatar Michael Niedermayer

gcc 2.95 fix

Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c8aee695
...@@ -1763,7 +1763,7 @@ static int try_decode_frame(AVStream *st, const uint8_t *data, int size) ...@@ -1763,7 +1763,7 @@ static int try_decode_frame(AVStream *st, const uint8_t *data, int size)
#define MAX_STD_TIMEBASES (60*12+3) #define MAX_STD_TIMEBASES (60*12+3)
static int get_std_framerate(int i){ static int get_std_framerate(int i){
if(i<60*12) return i*1001; 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;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment