[FFmpeg-cvslog] r12678 - trunk/libavformat/rtsp.c

lu_zero subversion
Fri Apr 4 00:15:16 CEST 2008


Author: lu_zero
Date: Fri Apr  4 00:15:16 2008
New Revision: 12678

Log:
use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	(original)
+++ trunk/libavformat/rtsp.c	Fri Apr  4 00:15:16 2008
@@ -1094,7 +1094,7 @@ static int rtsp_read_header(AVFormatCont
             goto fail;
         protocol_mask &= ~(1 << protocol);
         if (protocol_mask == 0 && err == 1) {
-            err = AVERROR(EPROTONOSUPPORT);
+            err = AVERROR(FF_NETERROR(EPROTONOSUPPORT));
             goto fail;
         }
     } while (err);




More information about the ffmpeg-cvslog mailing list