Browse Source

use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorg

Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Barbato 18 years ago
parent
commit
5ee0e1395d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtsp.c

+ 1
- 1
libavformat/rtsp.c View File

@@ -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);


Loading…
Cancel
Save