[FFmpeg-cvslog] r15589 - trunk/libavformat/dv.c

michael subversion
Wed Oct 8 22:55:23 CEST 2008


Author: michael
Date: Wed Oct  8 22:55:22 2008
New Revision: 15589

Log:
Make gcc 2.95 happy.


Modified:
   trunk/libavformat/dv.c

Modified: trunk/libavformat/dv.c
==============================================================================
--- trunk/libavformat/dv.c	(original)
+++ trunk/libavformat/dv.c	Wed Oct  8 22:55:22 2008
@@ -201,7 +201,7 @@ static int dv_extract_audio_info(DVDemux
     quant = as_pack[4] & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */
 
     /* note: ach counts PAIRS of channels (i.e. stereo channels) */
-    ach = (int[4]){  1,  0,  2,  4}[stype];
+    ach = ((int[4]){  1,  0,  2,  4})[stype];
     if (ach == 1 && quant && freq == 2)
         ach = 2;
 




More information about the ffmpeg-cvslog mailing list