Browse Source

avformat: fix typo in avformat_close_input

The condition should not be &&.
tags/n1.0
Luca Barbato 12 years ago
parent
commit
3f7fd59d15
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/utils.c

+ 1
- 1
libavformat/utils.c View File

@@ -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…
Cancel
Save