avformat/usmdec: Initialize value

Fixes: CID1551685 Uninitialized scalar variable

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-06-09 00:42:01 +02:00
parent 7b2f67ea77
commit 0619138639
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64

View File

@ -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);