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:
parent
bce8e2f374
commit
2beb7f43f6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user