mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
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>
This commit is contained in:
parent
bafb65ba2a
commit
2c3c83663d
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue