avformat/usmdec: Initialize value

Fixes: CID1551685 Uninitialized scalar variable

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0619138639)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.1
Michael Niedermayer 8 months ago
parent 1164095eca
commit 6c9b507841
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 2
      libavformat/usmdec.c

@ -119,7 +119,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