avformat/usmdec: Initialize value

Fixes: CID1551685 Uninitialized scalar variable

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/7.1
Michael Niedermayer 8 months ago
parent 7b2f67ea77
commit 0619138639
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 2
      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);

Loading…
Cancel
Save