diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 9a20481f21..2a555bbc4d 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1428,7 +1428,7 @@ retry: cur_auth_type = rt->auth_state.auth_type; if ((ret = rtsp_send_cmd_with_content_async(s, method, url, header, send_content, - send_content_length))) + send_content_length)) < 0) return ret; if ((ret = ff_rtsp_read_reply(s, reply, content_ptr, 0, method) ) < 0)