[FFmpeg-soc] [soc]: r1740 - eac3/eac3dec.c
jbr
subversion at mplayerhq.hu
Tue Jan 1 19:59:18 CET 2008
Author: jbr
Date: Tue Jan 1 19:59:17 2008
New Revision: 1740
Log:
fix a typo
Modified:
eac3/eac3dec.c
Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c (original)
+++ eac3/eac3dec.c Tue Jan 1 19:59:17 2008
@@ -1042,7 +1042,7 @@ int ff_eac3_parse_audio_block(AC3DecodeC
if (s->snr_offset_strategy && (!blk || get_bits1(gbc))) {
int csnroffst = (get_bits(gbc, 6) - 15) << 4;
int snroffst = 0;
- for (i = !s->cpl_in_use[blk]; ch <= s->channels; ch++){
+ for (ch = !s->cpl_in_use[blk]; ch <= s->channels; ch++){
if (ch == !s->cpl_in_use[blk] || s->snr_offset_strategy == 2)
snroffst = (csnroffst + get_bits(gbc, 4)) << 2;
s->snr_offset[ch] = snroffst;
More information about the FFmpeg-soc
mailing list