You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg
Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user