[FFmpeg-devel] [PATCH] libavformat/mov: Always use av_realloc() for AVCodecParameters.extradata

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Aug 26 13:05:27 EEST 2017


2017-08-26 11:43 GMT+02:00 Michael Niedermayer <michael at niedermayer.cc>:

> The fix to this is to make av_malloc() and av_realloc() compatible.
>
> Does tcmalloc() provide sufficient alignment ?

This report indicates it defaults to 16 bytes:
https://github.com/gperftools/gperftools/issues/433

But they intend to raise the alignment to 64 bytes iiuc:
https://github.com/gperftools/gperftools/issues/808

Carl Eugen


More information about the ffmpeg-devel mailing list