Browse Source

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>
tags/n4.4
Andreas Rheinhardt 4 years ago
parent
commit
2beb7f43f6
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/on2avc.c

+ 0
- 2
libavcodec/on2avc.c View File

@@ -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…
Cancel
Save