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

Nicolas George george at nsup.org
Tue Apr 21 16:21:08 CEST 2015


Le duodi 2 floréal, an CCXXIII, Michael Niedermayer a écrit :
> 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)

I was referring to this one:

commit a5704659e3e41b7698812b89f67d9a7467a74d20
Author: Nicolas George <nicolas.george at normalesup.org>
Date:   2012-08-28 18:15:49 +0200

    lavfi/af_atempo: use av_malloc for rDFT buffers.
    
    Memory obtained from av_realloc is not aligned enough for AVX.
    The other similar allocations are changed too because they use
    the same macro. The buffers were cleared afterwards anyway.
    
    Fix trac ticket #1692.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150421/e069f1a0/attachment.asc>


More information about the ffmpeg-devel mailing list