[Ffmpeg-cvslog] r7285 - trunk/libavformat/utils.c

michael subversion
Tue Dec 12 13:24:30 CET 2006


Author: michael
Date: Tue Dec 12 13:24:30 2006
New Revision: 7285

Modified:
   trunk/libavformat/utils.c

Log:
gcc 2.95 fix


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Tue Dec 12 13:24:30 2006
@@ -1763,7 +1763,7 @@
 #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;
 }
 
 /**




More information about the ffmpeg-cvslog mailing list