ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sat Oct 1 21:21:12 2022 +0200| [75842c35e7698eba2114a84b2854c3c130b2f2d4] | committer: Andreas Rheinhardt
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.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75842c35e7698eba2114a84b2854c3c130b2f2d4 --- libavcodec/huffyuvenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c index 80dcdbaa93..8867de0d44 100644 --- a/libavcodec/huffyuvenc.c +++ b/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); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".