Make gcc 2.95 happy.

Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-10-08 20:55:22 +00:00
parent e150ef8d34
commit 51f4155fef
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static int dv_extract_audio_info(DVDemuxContext* c, uint8_t* frame)
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;