PR #22484 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22484
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22484.patch

This was used uninitialized previously

Signed-off-by: Michael Niedermayer <[email protected]>


>From 9f7a3650946098c9480c0d86d50324a5af8ab39a Mon Sep 17 00:00:00 2001
From: Olivier Laflamme <[email protected]>
Date: Thu, 12 Mar 2026 16:42:06 +0100
Subject: [PATCH] fftools/ffprobe: Initilaize data_dump_format_id

This was used uninitialized previously

Signed-off-by: Michael Niedermayer <[email protected]>
---
 fftools/ffprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index c02df4b45f..3c29fc2557 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3238,7 +3238,7 @@ int main(int argc, char **argv)
     char *buf;
     char *f_name = NULL, *f_args = NULL;
     int ret, input_ret;
-    AVTextFormatDataDump data_dump_format_id;
+    AVTextFormatDataDump data_dump_format_id = AV_TEXTFORMAT_DATADUMP_XXD;
 
     init_dynload();
 
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to