]> git.sesse.net Git - ffmpeg/commit
avcodec: Remove redundant freeing of extradata of encoders
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 14 Apr 2021 23:49:06 +0000 (01:49 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Wed, 28 Apr 2021 14:56:40 +0000 (16:56 +0200)
commit1c7f252783aec37e4ff8049476386f63afe91756
tree94fd06f71dd18057e38bfcb5d1e64825e2b721fd
parent1ab74bc19354aedfb9afe71515952254753a75cc
avcodec: Remove redundant freeing of extradata of encoders

AVCodecContext.extradata is freed generically by libavcodec for
encoders, so it is unnecessary for an encoder to do it on its own.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
15 files changed:
libavcodec/flacenc.c
libavcodec/huffyuvenc.c
libavcodec/lclenc.c
libavcodec/libfdk-aacenc.c
libavcodec/libkvazaar.c
libavcodec/libopusenc.c
libavcodec/libspeexenc.c
libavcodec/libtheoraenc.c
libavcodec/libvorbisenc.c
libavcodec/libx264.c
libavcodec/libxavs.c
libavcodec/libxvid.c
libavcodec/mpegvideo_enc.c
libavcodec/opusenc.c
libavcodec/vorbisenc.c