[FFmpeg-devel] [PATCH] mingw memalign hack fix

aviad rozenhek aviadr1
Mon Dec 1 10:42:39 CET 2008


On Fri, Nov 28, 2008 at 2:12 AM, David DeHaven <dave at sagetv.com> wrote:

>
> > your code is still totally broken, the data in tha array after the
> > call is
> > just not what was there before.
>
> I know, I figured it out after I sent that last patch and fixed it
> already. I'd submit it but what's the point really?
>
> -DrD-
>

just my two cents,
this could be implemented pretty trivially but less efficiently by
implementing av_realloc using just malloc and memcpy instead of using
realloc
I prefer to have a slower mingw-ffmpeg than a crashing mingw-ffmpeg

sometime in the future a fix could be applied in the implementation of
mingw's realloc where it should be in the first place




More information about the ffmpeg-devel mailing list