diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-10-15 23:14:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-08 15:00:02 +0200 |
commit | 94295bb57407fac57defc77fe59ea4cfdbe113c0 (patch) | |
tree | 416013b0e83ae8f371f3e8a8040992de07c88a6d /libavcodec | |
parent | 6f2f496822b056db8c22763706da2a5103c96708 (diff) | |
download | ffmpeg-94295bb57407fac57defc77fe59ea4cfdbe113c0.tar.gz |
avcodec/mpegvideo: Remove pointless check
Possible since 315c956cbd14f021e49dac7fc0b906fad1672aad.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 8a733afdb8..7af823b8bd 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -789,9 +789,6 @@ void ff_mpv_common_end(MpegEncContext *s) av_freep(&s->bitstream_buffer); s->allocated_bitstream_buffer_size = 0; - if (!s->avctx) - return; - if (s->picture) { for (int i = 0; i < MAX_PICTURE_COUNT; i++) ff_mpv_picture_free(&s->picture[i]); |