[FFmpeg-devel] [PATCH] avutil/mem: remove av_realloc / av_malloc incompatibility warning
george at nsup.org
Tue Apr 21 15:43:59 CEST 2015
Le duodi 2 floréal, an CCXXIII, wm4 a écrit :
> Isn't the problem that realloc() doesn't keep the alignment?
No. That problem exists too, but is irrelevant for the current code base:
there has been one bug of that kind about three years ago, AFAIK that is
The problem that was addressed here was that, officially according to POSIX,
using realloc() on a buffer returned by posix_memalign() is an undefined
behaviour. In practice, we had quite a few of these cases but that never
caused any problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel