Commit de5e7a11 authored by lu_zero's avatar lu_zero

use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12678 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 02646ef3
......@@ -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