You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
@@ -974,8 +974,6 @@ static av_cold int on2avc_decode_init(AVCodecContext *avctx)
|
|||||||
return 0;
|
return 0;
|
||||||
vlc_fail:
|
vlc_fail:
|
||||||
av_log(avctx, AV_LOG_ERROR, "Cannot init VLC\n");
|
av_log(avctx, AV_LOG_ERROR, "Cannot init VLC\n");
|
||||||
on2avc_free_vlcs(c);
|
|
||||||
av_freep(&c->fdsp);
|
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user