avcodec/huffyuvenc: Remove redundant call

All codecs here have the FF_CODEC_CAP_INIT_CLEANUP set,
so ff_huffyuv_common_end() will be called automatically
in encode_end() on error.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 2 years ago
parent e766378619
commit 75842c35e7
  1. 1
      libavcodec/huffyuvenc.c

@ -392,7 +392,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
}
if (ff_huffyuv_alloc_temp(s)) {
ff_huffyuv_common_end(s);
return AVERROR(ENOMEM);
}

Loading…
Cancel
Save