diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-01 21:21:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-09 09:15:39 +0200 |
commit | 75842c35e7698eba2114a84b2854c3c130b2f2d4 (patch) | |
tree | 3f845ca9cb85fefc6c0d5d0521025cd558e5390d /libavcodec/huffyuvenc.c | |
parent | e766378619c58786da20cbcd69ed36010ca5959b (diff) | |
download | ffmpeg-75842c35e7698eba2114a84b2854c3c130b2f2d4.tar.gz |
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>
Diffstat (limited to 'libavcodec/huffyuvenc.c')
-rw-r--r-- | libavcodec/huffyuvenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |