Skip to content
Snippets Groups Projects
Commit 51f4155f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Make gcc 2.95 happy.

Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e150ef8d
No related branches found
No related tags found
No related merge requests found
...@@ -201,7 +201,7 @@ static int dv_extract_audio_info(DVDemuxContext* c, uint8_t* frame) ...@@ -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 */ quant = as_pack[4] & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */
/* note: ach counts PAIRS of channels (i.e. stereo channels) */ /* 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) if (ach == 1 && quant && freq == 2)
ach = 2; ach = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment