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

David DeHaven dave
Thu Nov 27 00:54:56 CET 2008


>> +    diff = ((-(long)ptr - 1)&15) + 1;
>
> intptr_t should be used instead of long.

Agreed. I fixed av_malloc too...

-DrD-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw-av_realloc-fix.patch
Type: application/octet-stream
Size: 1048 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081126/72acae4c/attachment.obj>
-------------- next part --------------






More information about the ffmpeg-devel mailing list