ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Sun Jun 9 00:42:01 2024 +0200| [06191386396344ee1906c6016b7d94ee8754fd61] | committer: Michael Niedermayer
avformat/usmdec: Initialize value Fixes: CID1551685 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06191386396344ee1906c6016b7d94ee8754fd61 --- libavformat/usmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/usmdec.c b/libavformat/usmdec.c index 9a21cc3041..6de2a73edf 100644 --- a/libavformat/usmdec.c +++ b/libavformat/usmdec.c @@ -120,7 +120,7 @@ static int parse_utf(AVFormatContext *s, AVIOContext *pb, for (int i = 0; i < nb_items; i++) { GetByteContext *xgb; uint8_t key[256]; - int64_t value; + int64_t value = -1; int n = 0; type = bytestream2_get_byte(&gb); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".