This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/8.0
in repository ffmpeg.

commit 5531008893ac33a5ad1372756d05ce6eb793f442
Author:     James Almer <[email protected]>
AuthorDate: Wed Mar 18 13:24:33 2026 -0300
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun May 3 19:56:54 2026 +0200

    avcodec/h2645_sei: don't use provider_code uninitialized
    
    Regression since 8172be423e05f9abe91432ec8dcb2ecf93a1e86d.
    Fixes Coverity issue CID 1689618.
    
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit e22a1ed7120ef768ac699520e36fc572ca6e5cc4)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/h2645_sei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h2645_sei.c b/libavcodec/h2645_sei.c
index 04432b6a8d..003b0fb796 100644
--- a/libavcodec/h2645_sei.c
+++ b/libavcodec/h2645_sei.c
@@ -145,7 +145,7 @@ static int 
decode_registered_user_data_closed_caption(H2645SEIA53Caption *h,
 static int decode_registered_user_data(H2645SEI *h, GetByteContext *gb,
                                        enum AVCodecID codec_id, void *logctx)
 {
-    int country_code, provider_code;
+    int country_code, provider_code = -1;
 
     if (bytestream2_get_bytes_left(gb) < 3)
         return AVERROR_INVALIDDATA;

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

Reply via email to