mirror of
https://github.com/videolan/vlc.git
synced 2024-12-01 13:55:14 +08:00
ffmpeg RTSP Windows patch -- unsupported error message
This commit is contained in:
parent
8c5e9b0731
commit
f11a132c4c
11
extras/contrib/src/patches/ffmpeg-svn-win32.patch
Normal file
11
extras/contrib/src/patches/ffmpeg-svn-win32.patch
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user