summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-10-08 20:55:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-10-08 20:55:22 +0000
commit51f4155fef36b35ff2053b98ee7edca25d65e5d0 (patch)
tree178c2c7a12c29894fd2306217d842003cf72cbd2 /libavformat/dv.c
parente150ef8d34544d212d961467ba985f4c61ef43f1 (diff)
Make gcc 2.95 happy.
Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r--libavformat/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 95b39889cf..c5fecd10fb 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -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;