[FFmpeg-devel] Different behavior of ff_float_to_int16_c() and float_to_int16_sse()

Benjamin Larsson banan
Mon Mar 3 15:08:36 CET 2008


Zuxy Meng wrote:
> Hi,
>
> Obviously, these two functions produce quite different output given
> the same input. So IIRC whenever trying to use dsp.float_to_int16 we
> have to check if it's the C version or the SIMD version, but in
> libavcodec/dca.c and libavcodec/imc.c there aren't such checks. Bug or
> have I missed something?
>
>   

No, it's a bug :(. Patch welcome.

MvH
Benjamin Larsson







More information about the ffmpeg-devel mailing list