[FFmpeg-soc] [soc]: r3654 - eac3/eac3dec.c
jbr
subversion at mplayerhq.hu
Thu Aug 28 02:30:06 CEST 2008
Author: jbr
Date: Thu Aug 28 02:30:06 2008
New Revision: 3654
Log:
simplify parsing of mixing config info
Modified:
eac3/eac3dec.c
Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c (original)
+++ eac3/eac3dec.c Thu Aug 28 02:30:06 2008
@@ -281,15 +281,11 @@ int ff_eac3_parse_header(AC3DecodeContex
}
/* skip mixing configuration information */
if (get_bits1(gbc)) {
- if (s->num_blocks == 1) {
- skip_bits(gbc, 5);
- } else {
for (blk = 0; blk < s->num_blocks; blk++) {
- if (get_bits1(gbc)) {
+ if (s->num_blocks == 1 || get_bits1(gbc)) {
skip_bits(gbc, 5);
}
}
- }
}
}
}
More information about the FFmpeg-soc
mailing list