# HG changeset patch # User lu_zero # Date 1207260916 0 # Node ID 98e633b72d383f53d5407337ac7dc6ba5314365a # Parent 1a16b069daca7828ff2ef9fd0b729b3324506caf use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg diff -r 1a16b069daca -r 98e633b72d38 rtsp.c --- 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);