[FFmpeg-devel] lurking bugs in the mmx-related assembler code (?)

Ronald S. Bultje rsbultje at gmail.com
Sat Oct 1 19:31:05 EEST 2016


Hi,

On Sat, Oct 1, 2016 at 11:56 AM, <u-h8zb at aetey.se> wrote:

> On Sat, Oct 01, 2016 at 05:44:13PM +0200, wm4 wrote:
> > AFAIK most MMX code in FFmpeg does not run emms (i.e. keeps the FPU
> > state trashed) until returning to the API user.
>
> This means when malloc()/free()/... happens to be called internally,
> it corrupts the malloc structures, in a non-straightforward ways.


That's correct.

Why does your malloc implementation use floats?

Ronald


More information about the ffmpeg-devel mailing list