changeset 3202:98e633b72d38 libavformat

use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
author lu_zero
date Thu, 03 Apr 2008 22:15:16 +0000
parents 1a16b069daca
children e5991c49acdc
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Wed Apr 02 21:41:48 2008 +0000
+++ b/rtsp.c	Thu Apr 03 22:15:16 2008 +0000
@@ -1094,7 +1094,7 @@
             goto fail;
         protocol_mask &= ~(1 << protocol);
         if (protocol_mask == 0 && err == 1) {
-            err = AVERROR(EPROTONOSUPPORT);
+            err = AVERROR(FF_NETERROR(EPROTONOSUPPORT));
             goto fail;
         }
     } while (err);