[FFmpeg-cvslog] r25956 - in trunk: libavcodec/ac3enc.c tests/ref/acodec/ac3

Michael Niedermayer michaelni
Tue Dec 21 01:41:25 CET 2010


On Tue, Dec 14, 2010 at 03:51:02PM +0100, jbr wrote:
> Author: jbr
> Date: Tue Dec 14 15:51:02 2010
> New Revision: 25956
> 
> Log:
> Simplify fix15().
> Turn it into 2 macros, and use av_clip_int16() and lrintf().
> This matches the int16 to float sample conversion in audioconvert.c.
> The regression test output is different due to lrintf() rounding.

not only rounding, this also causes a difference due to cliping changing from
-32767..32767 to -32768..32767 which leads to overflows
as found my mans

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20101221/a7d7b56c/attachment.pgp>



More information about the ffmpeg-cvslog mailing list