diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-26 20:43:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-30 16:12:22 +0200 |
commit | 2c3c83663daced2218d81ebb29bdb9962fa2f3ea (patch) | |
tree | 2cc1f92e4b16d9ea4cda0d066dce7f51232e6e7c /libavformat/utils.c | |
parent | bafb65ba2ab15a6c05ca73b2b0a82e23f57c30c6 (diff) | |
download | ffmpeg-2c3c83663daced2218d81ebb29bdb9962fa2f3ea.tar.gz |
avformat/utils: Remove redundant flushing of packet queue
The packet queue is already flushed in avformat_free_context() which
is called a few lines below.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 67a1d158b4..79fa9382cf 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4340,8 +4340,6 @@ void avformat_close_input(AVFormatContext **ps) (s->flags & AVFMT_FLAG_CUSTOM_IO)) pb = NULL; - flush_packet_queue(s); - if (s->iformat) if (s->iformat->read_close) s->iformat->read_close(s); |