# HG changeset patch # User michael # Date 1223499322 0 # Node ID 8c5a32f0d479da41b68eebaf1193c23c490d1430 # Parent 36f92f77c85e1c350d133b1f53c99ef4df67b790 Make gcc 2.95 happy. diff -r 36f92f77c85e -r 8c5a32f0d479 dv.c --- 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;