[FFmpeg-devel] [PATCH 2/3] Support DTS-ES extension (XCh) in dca

Carl Eugen Hoyos cehoyos
Mon Jun 21 00:12:31 CEST 2010


Nick Brereton <nick <at> nbrereton.net> writes:

> -/*        static float pcm_to_double[8] =
> -            {32768.0, 32768.0, 524288.0, 524288.0, 0, 8388608.0, 8388608.0};*/
>           qmf_32_subbands(s, k, subband_samples[k], &s->samples[256 *
 s->channel_order_tab[k]],
> -                            M_SQRT1_2*s->scale_bias
 /*pcm_to_double[s->source_pcm_res] */ ,
> -                            s->add_bias );
> +                         M_SQRT1_2*s->scale_bias, s->add_bias);

That's at least one cosmetic change iiuc that must not be mixed with functional
changes. When fixing, please also change all for( and if( to "for (" and "if (".

Carl Eugen




More information about the ffmpeg-devel mailing list