diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index c9973c5142..472bad9b6a 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -124,7 +124,7 @@ static int mp3_parse_vbr_tags(AVFormatContext *s, AVStream *st, int64_t base) uint32_t v, spf; unsigned frames = 0; /* Total number of frames in file */ unsigned size = 0; /* Total number of bytes in the stream */ - const int64_t xing_offtbl[2][2] = {{32, 17}, {17,9}}; + static const int64_t xing_offtbl[2][2] = {{32, 17}, {17,9}}; MPADecodeHeader c; int vbrtag_size = 0; int is_cbr;