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 4D18348B5A for ; Fri, 3 May 2024 21:55:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6645768D721; Sat, 4 May 2024 00:55:15 +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 B03CC68D711 for ; Sat, 4 May 2024 00:55:07 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1CEE3E0009 for ; Fri, 3 May 2024 21:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1714773307; 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=QY3zEV4Lx6ZBpaWhtjvXpA0kyHuTzHZjtsX8VvKakc4=; b=EpOqpMXmSMHqN+QYnVsHXl3yMXhKW98ht7is/cp6lbrypx87gC51NAIQwG3icxw1CXTrDv R8/OnxV5+ks4l6yWJcuPfjTo7H6PMawE/2jt9gDLEBuHUt2l7vb4GZuFkdxso9fCui0jlo v1tA5HiDz5kGsEORaXgh8MA5Md2LeA+cDGIctd63CuBWVKh8rSLqDB9clE4t1IIUkknHnS 9IEYYUSDhVbZa4vdn8QXbZZ9BQ83361vq3GJLBZQFQ/tl15zJB3BqGCPtrgJJHjKR5qUjO ekvlw/6vF2SHNN4uDUSXMYLPb+Tox1kE1BTt89vZk3cDiDjIc6EC8pYg6+FJ8w== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 3 May 2024 23:55:01 +0200 Message-ID: <20240503215502.1509887-4-michael@niedermayer.cc> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240503215502.1509887-1-michael@niedermayer.cc> References: <20240503215502.1509887-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 4/5] avcodec/dovi_rpuenc: Initialize bl_compat_id 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: Fixes: CID1596607 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/dovi_rpuenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dovi_rpuenc.c b/libavcodec/dovi_rpuenc.c index 7e0292533bd..c5e452957b5 100644 --- a/libavcodec/dovi_rpuenc.c +++ b/libavcodec/dovi_rpuenc.c @@ -57,7 +57,7 @@ int ff_dovi_configure(DOVIContext *s, AVCodecContext *avctx) AVDOVIDecoderConfigurationRecord *cfg; const AVDOVIRpuDataHeader *hdr = NULL; const AVFrameSideData *sd; - int dv_profile, dv_level, bl_compat_id; + int dv_profile, dv_level, bl_compat_id = -1; size_t cfg_size; uint64_t pps; -- 2.43.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".