X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavformat%2Frtsp.c;h=b0fa2eae252505db7349e280b885b4d851bff7d3;hp=16397e4e90394b2f8aab49c90d0b380a8c4fb589;hb=adef229efbf0cb2e9a8650b1e3bec03b47aea179;hpb=4aecee7fc34d5eb3dccf2b8ff070cd1029a14d96 diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 16397e4e90..b0fa2eae25 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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);