changeset 3993:8c5a32f0d479 libavformat

Make gcc 2.95 happy.
author michael
date Wed, 08 Oct 2008 20:55:22 +0000
parents 36f92f77c85e
children 4d5d9ac28e21
files dv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Tue Oct 07 16:59:18 2008 +0000
+++ b/dv.c	Wed Oct 08 20:55:22 2008 +0000
@@ -201,7 +201,7 @@
     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;