]> git.sesse.net Git - vlc/commitdiff
ffmpeg RTSP Windows patch -- unsupported error message
authorMark Moriarty <mfmori@hotmail.com>
Sat, 29 Mar 2008 14:15:02 +0000 (10:15 -0400)
committerMark Moriarty <mfmori@hotmail.com>
Sat, 29 Mar 2008 14:37:20 +0000 (10:37 -0400)
extras/contrib/src/patches/ffmpeg-svn-win32.patch [new file with mode: 0644]

diff --git a/extras/contrib/src/patches/ffmpeg-svn-win32.patch b/extras/contrib/src/patches/ffmpeg-svn-win32.patch
new file mode 100644 (file)
index 0000000..2238a01
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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);