Browse Source

AVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)

FF_NETERROR is implicitly an AVERROR.

Originally committed as revision 22888 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Ramiro Polla 15 years ago
parent
commit
adef229efb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cmdutils.c
  2. +1
    -1
      libavformat/rtsp.c

+ 1
- 1
cmdutils.c View File

@@ -295,7 +295,7 @@ void print_error(const char *filename, int err)

switch(err) {
#if CONFIG_NETWORK
case AVERROR(FF_NETERROR(EPROTONOSUPPORT)):
case FF_NETERROR(EPROTONOSUPPORT):
fprintf(stderr, "%s: Unsupported network protocol\n", filename);
break;
#endif


+ 1
- 1
libavformat/rtsp.c View File

@@ -1583,7 +1583,7 @@ redirect:
goto fail;
lower_transport_mask &= ~(1 << lower_transport);
if (lower_transport_mask == 0 && err == 1) {
err = AVERROR(FF_NETERROR(EPROTONOSUPPORT));
err = FF_NETERROR(EPROTONOSUPPORT);
goto fail;
}
} while (err);


Loading…
Cancel
Save