[FFmpeg-devel] [PATCH] Make binkaudio work with ff_float_to_int16_interleave_c

Martin Storsjö martin
Wed Mar 10 11:46:04 CET 2010


Hi,

The bink audio decoder produces distorted output if the 
float_to_int16_interleave function happens to be implemented by 
ff_float_to_int16_interleave_c. All other audio decoders using this 
function have special casing for the case when float_to_int16_interleave 
is implemented by ff_float_to_int16_interleave_c, adding a particular 
bias and scale factor.

The attached patch is a crude and straightforward way of doing this, but I 
guess the bias and scaling should be merged into the vector operations 
earlier in the decoder.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binkaudio-interleave-c.patch
Type: text/x-diff
Size: 909 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100310/800b113a/attachment.patch>



More information about the ffmpeg-devel mailing list