[FFmpeg-devel] [PATCH] avcodec/extract_extradata: zero initialize the padding bytes of the exported extradata

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Mar 9 17:18:38 EET 2018


On 3/8/2018 4:02 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/extract_extradata_bsf.c | 4 ++++
>  1 file changed, 4 insertions(+)

Can't most (or all) of these be fixed by using av_mallocz?

- Derek


More information about the ffmpeg-devel mailing list