diff options
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 8924fb3c19..4e059d6674 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -1533,7 +1533,7 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt) level = AV_LOG_WARNING; ret = 0; } else - ret = -1; + ret = AVERROR_UNKNOWN; av_log(s, level, "Server error: %s\n", tmpstr); } |