ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Mon Oct 19 06:03:18 2020 +0200| [2beb7f43f6ab5f5deaf7dbc846f99355d9f8652e] | committer: Andreas Rheinhardt
avcodec/on2avc: Remove redundant code for freeing This decoder has the FF_CODEC_CAP_INIT_CLEANUP set. Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2beb7f43f6ab5f5deaf7dbc846f99355d9f8652e --- libavcodec/on2avc.c | 2 -- 1 file changed, 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); } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
