aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-24 23:41:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-01 13:18:18 +0200
commitc6e54d14c55221b7380a0e86d7a42b60ff9e5eeb (patch)
tree073b234f0df41e03cd445a78f614ce447be6e6bd /libavformat/movenc.c
parent502c5fe10143247b0566d3d2bb927f49769c2181 (diff)
downloadffmpeg-c6e54d14c55221b7380a0e86d7a42b60ff9e5eeb.tar.gz
avcodec/utils: Improve check for freeing codec private options
Don't check for AVCodec.priv_data_size (which is always true if AVCodec.priv_class is set). Instead check for AVCodecContext.priv_data to actually exist. (Note: av_opt_free(NULL) is a no-op.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/movenc.c')
0 files changed, 0 insertions, 0 deletions