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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new e22a1ed712 avcodec/h2645_sei: don't use provider_code uninitialized
e22a1ed712 is described below

commit e22a1ed7120ef768ac699520e36fc572ca6e5cc4
Author:     James Almer <[email protected]>
AuthorDate: Wed Mar 18 13:24:33 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Wed Mar 18 13:25:08 2026 -0300

    avcodec/h2645_sei: don't use provider_code uninitialized
    
    Regression since 8172be423e05f9abe91432ec8dcb2ecf93a1e86d.
    Fixes Coverity issue CID 1689618.
    
    Signed-off-by: James Almer <[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 332371e5c0..638362fbf6 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