[SCM] libav/experimental: make sure that the last coupling band stops at the end of the coupling range
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:11:24 UTC 2013
The following commit has been merged in the experimental branch:
commit 4bc829bb8f95afa20ce9d02164a5b249a3da4e36
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date: Sun Jan 6 23:33:30 2008 +0000
make sure that the last coupling band stops at the end of the coupling range
Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 438cc65..c1b3ec2 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -840,6 +840,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
s->num_cpl_bands--;
}
}
+ s->cpl_band_struct[s->num_cpl_subbands-1] = 0;
} else {
/* coupling not in use */
for (ch = 1; ch <= fbw_channels; ch++)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list