Commit ce6766b6 authored by Christophe Mutricy's avatar Christophe Mutricy

This has been fixed in VLC's FFMpeg demuxer module in [20188]

parent 1ca762a7
......@@ -964,7 +964,6 @@ DISTCLEAN_PKG += libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
ffmpeg:
$(SVN) export $(FFMPEG_SVN) ffmpeg
(cd "$@" && patch -p1 < ../Patches/ffmpeg-svn-nofile.patch)
(cd "$@" && patch -p0 < ../Patches/ffmpeg-svn-swscale-pc.patch)
ifeq ($(HOST),i586-pc-beos)
(cd $@; patch -p0 < ../Patches/ffmpeg-svn-beos.patch)
......
Index: ffmpeg/libavformat/utils.c
===================================================================
--- ffmpeg/libavformat/utils.c (révision 7907)
+++ ffmpeg/libavformat/utils.c (copie de travail)
@@ -282,7 +282,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) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment