Commit af7f84c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

FFmpeg fixed its rtsp mingw compatibility.

parent f8f7d6a1
...@@ -1051,9 +1051,6 @@ endif ...@@ -1051,9 +1051,6 @@ endif
ifdef HAVE_DARWIN_OS ifdef HAVE_DARWIN_OS
(cd $@; patch -p0 < ../Patches/ffmpeg-macosx-intel-mmx.patch) (cd $@; patch -p0 < ../Patches/ffmpeg-macosx-intel-mmx.patch)
endif endif
ifdef HAVE_WIN32
(cd $@; patch -p0 < ../Patches/ffmpeg-svn-win32.patch)
endif
ifdef NO_TEXT_RELOCATION ifdef NO_TEXT_RELOCATION
(cd $@; patch -p1 < ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch) (cd $@; patch -p1 < ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch)
endif endif
......
--- libavformat/rtsp_old.c 2008-03-28 21:47:00.614740700 -0400
+++ libavformat/rtsp.c 2008-03-29 06:35:39.143600000 -0400
@@ -1094,7 +1094,7 @@
goto fail;
protocol_mask &= ~(1 << protocol);
if (protocol_mask == 0 && err == 1) {
- err = AVERROR(EPROTONOSUPPORT);
+ err = AVERROR(AVERROR_NOTSUPP);
goto fail;
}
} while (err);
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