1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

gcc 2.95 fix

Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-12-12 12:24:30 +00:00
parent c8aee695c5
commit 06d1e5c2b6

View File

@ -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;
}
/**