[FFmpeg-devel] [PATCH] dict.c: use av_mallocz instead of av_realloc
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Jan 29 13:13:31 CET 2013
Paweł Hajdan <phajdan <at> google.com> writes:
> Please refer to linked discussion
> http://ffmpeg.org/pipermail/ffmpeg-devel/2013-January/137234.html .
> Let me know if you still have questions after reading it.
Afair, Michael pointed out that the relevant
wording (that you quoted) was removed from the
C standard and that at least two manuals
explicitly allow mixing memalign an realloc.
And if I understood one of your messages
correctly, the issue only surfaced with
a simulator and is not reproducible on
any platform (but I may have misunderstood,
hence my question).
Finally, I believe you wanted to suggest to
the maintainers of google-perftools to change
the code, because the C libraries appear to
change documentation in this regard (and the
new documentation makes sense to you iiuc).
That is why I asked for some more information,
to at least mention in the commit message that
this is only a theoretical issue (in case I
understand correctly).
Carl Eugen
More information about the ffmpeg-devel
mailing list