Commit 4bff3b5a authored by jbr's avatar jbr

fix handling of special case for lowest snroffset. regressions are unaffected.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8450 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent abb8a9f8
......@@ -175,6 +175,12 @@ void ff_ac3_bit_alloc_calc_bap(int16_t *mask, int16_t *psd, int start, int end,
{
int i, j, k, end1, v, address;
/* special case, if snroffset is -960, set all bap's to zero */
if(snroffset == -960) {
memset(bap, 0, 256);
return;
}
i = start;
j = masktab[start];
do {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment