]> git.sesse.net Git - ffmpeg/commit
avcodec/av1dec: Remove redundant second free
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 13 Sep 2020 19:35:12 +0000 (21:35 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 17 Sep 2020 03:47:06 +0000 (05:47 +0200)
commit3e057dd8b1ae7c455f0a8a761962349a06d592a7
tree0f1787064f8193e10e726b6715fb97158a084307
parent92b578e1d62adf933cfacd36c02aabc448ed214d
avcodec/av1dec: Remove redundant second free

The AV1 decoder has the FF_CODEC_CAP_INIT_CLEANUP flag set and yet
the decoder's close function is called manually on some error paths.
This is unnecessary and has been removed in this commit.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/av1dec.c