[FFmpeg-devel] [PATCH] avutil/mem: remove av_realloc / av_malloc incompatibility warning

Michael Niedermayer michaelni at gmx.at
Tue Apr 21 16:15:26 CEST 2015


On Tue, Apr 21, 2015 at 03:43:59PM +0200, Nicolas George wrote:
> 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
> all.

the only case iam aware of was some memory debugger which crashed
when realloc & malloc where mixed (thats clearly a bug in the debugger
as it should never crash, warn / fail maybe but not crash)

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150421/81079c08/attachment.asc>


More information about the ffmpeg-devel mailing list