changeset 1567:e2fcff5c3d7d libavformat

gcc 2.95 fix
author michael
date Tue, 12 Dec 2006 12:24:30 +0000
parents bef95ed80667
children 04aa1ab71309
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Dec 11 16:59:10 2006 +0000
+++ b/utils.c	Tue Dec 12 12:24:30 2006 +0000
@@ -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;
 }
 
 /**