diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-19 06:03:18 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-21 07:51:05 +0200 |
commit | 2beb7f43f6ab5f5deaf7dbc846f99355d9f8652e (patch) | |
tree | f13cd2b2f2c1f6ec896360cf39c550128f45f8ad /libavcodec/on2avc.c | |
parent | bce8e2f374db390d50ec79a6288a607782cca64a (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.c | 2 |
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); } |