mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat: fix typo in avformat_close_input
The condition should not be &&.
This commit is contained in:
parent
7040c9fac2
commit
3f7fd59d15
@ -2704,7 +2704,7 @@ void avformat_close_input(AVFormatContext **ps)
|
||||
AVFormatContext *s = *ps;
|
||||
AVIOContext *pb = s->pb;
|
||||
|
||||
if ((s->iformat && s->iformat->flags & AVFMT_NOFILE) &&
|
||||
if ((s->iformat && s->iformat->flags & AVFMT_NOFILE) ||
|
||||
(s->flags & AVFMT_FLAG_CUSTOM_IO))
|
||||
pb = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user