[Ffmpeg-cvslog] r7589 - trunk/libavformat/utils.c
reimar
subversion
Fri Jan 19 23:53:00 CET 2007
Author: reimar
Date: Fri Jan 19 23:52:59 2007
New Revision: 7589
Modified:
trunk/libavformat/utils.c
Log:
Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
so do not probe them if is_opened is set.
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Fri Jan 19 23:52:59 2007
@@ -279,7 +279,7 @@
fmt = NULL;
score_max = 0;
for(fmt1 = first_iformat; fmt1 != NULL; fmt1 = fmt1->next) {
- if (!is_opened && !(fmt1->flags & AVFMT_NOFILE))
+ if (!is_opened == !(fmt1->flags & AVFMT_NOFILE))
continue;
score = 0;
if (fmt1->read_probe) {
More information about the ffmpeg-cvslog
mailing list