diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-09-15 22:16:32 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-09-15 22:23:39 +0400 |
commit | 3f7fd59d151a2773f0e2e93e56b6b13ec6e5334b (patch) | |
tree | 51501bb157808eb2c45ec40808ccfb2b2596a4bc /libavformat/utils.c | |
parent | 7040c9fac246ad9f8333d635045d24bc107ecfa8 (diff) |
avformat: fix typo in avformat_close_input
The condition should not be &&.
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b5b49c93c4..e4e4a8b445 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |