git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed0d304
)
use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
author
Luca Barbato
<lu_zero@gentoo.org>
Thu, 3 Apr 2008 22:15:16 +0000
(22:15 +0000)
committer
Luca Barbato
<lu_zero@gentoo.org>
Thu, 3 Apr 2008 22:15:16 +0000
(22:15 +0000)
Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
1431bc0
..
c2c6c7d
100644
(file)
--- 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);