[FFmpeg-devel] [PATCH] updated LGPL AC-3 decoder
Måns Rullgård
mans
Mon May 7 15:33:55 CEST 2007
Michael Niedermayer <michaelni at gmx.at> writes:
>> + /* the rest of the bsi. read twice for dual mono mode. */
>> + for(i=0; i<=(ctx->acmod == AC3_ACMOD_DUALMONO); i++) {
>> + ctx->dialnorm[i] = dialnorm_tbl[get_bits(gb, 5)]; // dialogue normalization
>> + if(get_bits1(gb))
>> + skip_bits(gb, 8); // skip compression gain
>> + if(get_bits1(gb))
>> + skip_bits(gb, 8); // skip language code
>> + if(get_bits1(gb))
>> + skip_bits(gb, 7); // skip audio production information
>> + } while(i--);
>
> hmm for(){}while(); ?
This looks like a do { } while() loop has been converted to a for(;;)
loop without the while() being removed.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list