mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
skip converter exponent strategy for all channels at once
Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fc324cd523
commit
1ffbafa02b
@ -415,9 +415,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
|
|||||||
/* original exponent strategies if this stream was converted from AC-3 */
|
/* original exponent strategies if this stream was converted from AC-3 */
|
||||||
if (s->frame_type == EAC3_FRAME_TYPE_INDEPENDENT &&
|
if (s->frame_type == EAC3_FRAME_TYPE_INDEPENDENT &&
|
||||||
(s->num_blocks == 6 || get_bits1(gbc))) {
|
(s->num_blocks == 6 || get_bits1(gbc))) {
|
||||||
for (ch = 1; ch <= s->fbw_channels; ch++) {
|
skip_bits(gbc, 5 * s->fbw_channels); // skip converter channel exponent strategy
|
||||||
skip_bits(gbc, 5); // skip converter channel exponent strategy
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* determine which channels use AHT */
|
/* determine which channels use AHT */
|
||||||
|
Loading…
Reference in New Issue
Block a user