ffmpeg RTSP Windows patch -- unsupported error message

This commit is contained in:
Mark Moriarty 2008-03-29 10:15:02 -04:00
parent 8c5e9b0731
commit f11a132c4c

View 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);