Commit 5ee0e139 authored by Luca Barbato's avatar Luca Barbato
Browse files

use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg

Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ed0d3048
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment