Browse Source

new dba values requires running last 2 bit allocation stages

Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Justin Ruggles 17 years ago
parent
commit
e25973a1fd
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/ac3dec.c

+ 3
- 0
libavcodec/ac3dec.c View File

@@ -1005,6 +1005,9 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
s->dba_lengths[ch][seg] = get_bits(gbc, 4);
s->dba_values[ch][seg] = get_bits(gbc, 3);
}
/* run last 2 bit allocation stages if new dba values */
bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);

}
}
} else if(blk == 0) {


Loading…
Cancel
Save