Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-19 07:03:18 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-21 08:51:05 +0300
commit2beb7f43f6ab5f5deaf7dbc846f99355d9f8652e (patch)
treef13cd2b2f2c1f6ec896360cf39c550128f45f8ad /libavcodec/on2avc.c
parentbce8e2f374db390d50ec79a6288a607782cca64a (diff)
avcodec/on2avc: Remove redundant code for freeing
This decoder has the FF_CODEC_CAP_INIT_CLEANUP set. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/on2avc.c')
-rw-r--r--libavcodec/on2avc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c
index 625e733ca3..60adc32b9f 100644
--- a/libavcodec/on2avc.c
+++ b/libavcodec/on2avc.c
@@ -974,8 +974,6 @@ static av_cold int on2avc_decode_init(AVCodecContext *avctx)
return 0;
vlc_fail:
av_log(avctx, AV_LOG_ERROR, "Cannot init VLC\n");
- on2avc_free_vlcs(c);
- av_freep(&c->fdsp);
return AVERROR(ENOMEM);
}