mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-23 07:16:56 +00:00
avformat/rtsp: use < 0 for error check
Found while reviewing CID1473532 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9bb38ba2b7
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bf071ff5f1
commit
13807f204b
@ -1396,7 +1396,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)
|
||||
|
Loading…
Reference in New Issue
Block a user