diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2008-04-03 22:15:16 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2008-04-03 22:15:16 +0000 |
commit | 5ee0e1395d6e71eebe31768dd4663247dc0c183d (patch) | |
tree | ea602d9aef26039ebd1b64631d19e81fed240dab | |
parent | ed0d3048c0591333b9aeac4a330869c9ec02d639 (diff) | |
download | ffmpeg-5ee0e1395d6e71eebe31768dd4663247dc0c183d.tar.gz |
use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 1431bc08d3..c2c6c7d405 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1094,7 +1094,7 @@ static int rtsp_read_header(AVFormatContext *s, goto fail; protocol_mask &= ~(1 << protocol); if (protocol_mask == 0 && err == 1) { - err = AVERROR(EPROTONOSUPPORT); + err = AVERROR(FF_NETERROR(EPROTONOSUPPORT)); goto fail; } } while (err); |