diff --git a/libavformat/usmdec.c b/libavformat/usmdec.c
index 0c4e8d41be..5a57c59ea0 100644
--- a/libavformat/usmdec.c
+++ b/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);