From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 17A214B5A4 for ; Sat, 8 Jun 2024 23:11:06 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B9DB068D722; Sun, 9 Jun 2024 02:10:56 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6A33F68D709 for ; Sun, 9 Jun 2024 02:10:49 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id AADEBE0002 for ; Sat, 8 Jun 2024 23:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1717888248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uOjFkGXjUuIh4YvH2v3HgmrWO8bZ0Eq9e6+E73eIUiw=; b=OLeBvZei2hd//hSj708Jk9GXbe4mUm9c/kzhrIZcQoLlOwTCAT9+NzOTx1CeyJcV+MJkPs DkXjir7mrSTpwN7gfentTwoJCqdoKJJrASPOI10DXCOJZqD8LNzavLHISgxpFblLSNIRem fYjuKFencWmr/33aKOTw55FQM+oAxfcCE5dzcPaxWHKm/x7jwqELOIMhhF0dKAOQ1l21J7 5T5XEMMGIqi0C83nmLW4tD7E3zrgfXTEO153CzmlCwDOqRP7x3jW2jUxjuFJGKkR3ARLfS RTPsZwobtNVaS27os9dlm59joZo9uzLhgckzvPe/zQCBEKzNJ8buEBDWS5kX1Q== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 9 Jun 2024 01:10:39 +0200 Message-ID: <20240608231046.3619551-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240608231046.3619551-1-michael@niedermayer.cc> References: <20240608231046.3619551-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 2/9] avformat/rtsp: use < 0 for error check X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Found while reviewing CID1473532 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index db78735c7ae..28c858077ad 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1429,7 +1429,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) -- 2.45.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".