Commit 21475ab1 authored by michael's avatar michael

gcc 2.95 fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 94cdca9e
...@@ -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