[FFmpeg-devel] [PATCH] Do not assume long is same width as x86 register in swscale.

Ramiro Polla ramiro.polla
Tue Mar 17 00:51:49 CET 2009


On Mon, Mar 16, 2009 at 5:37 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de> wrote:
> On Mon, Mar 16, 2009 at 05:18:45PM -0300, Ramiro Polla wrote:
>> swscale-example crashes on funnyYCode (couldn't there be a better name
>> for this?). I'll look further later but I'm guessing it has something
>> to do with the OS not allowing malloc'd code to run.
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2005-February/033374.html

Thanks, that worked (_WIN32 instead of WIN32 though, and adding an
#include <windows.h>).

Now I have a question (Mans, Diego):
Since the code is in an external repo (swscale), should FFmpeg's
configure check for Virtual{Alloc,Free} and use it under that ifdef?
Or is ifdefing _WIN32 ok?

Ramiro Polla

More information about the ffmpeg-devel mailing list