[FFmpeg-devel] [PATCH 2/2] Fix side channels when XCh extension is present

Christophe Gisquet christophe.gisquet
Mon Jul 12 11:27:10 CEST 2010


Hi,

2010/7/11 Kostya <kostya.shishkov at gmail.com>:
>> > ? ? ? ? ? ? ? ? lt_chan[j] -= (back_chan[j] - s->add_bias) * 0.707107f;
>> > ? ? ? ? ? ? ? ? rt_chan[j] -= (back_chan[j] - s->add_bias) * 0.707107f;

As this magic value is in fact a coarse rounding (maybe it is mandated
by the spec?) of 1/sqrt(2), the minimalist patch attached could be
considered.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dca_inv_sqrt2.diff
Type: text/x-diff
Size: 665 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100712/7c1095fc/attachment.diff>



More information about the ffmpeg-devel mailing list