From 1787432b2344f4bc5873b79a9436303786b8d568 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Aug 2013 02:52:41 +0200 Subject: mp3dec: make const tables static const Signed-off-by: Michael Niedermayer --- libavformat/mp3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mp3dec.c') diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index c9973c5..472bad9 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; -- cgit v1.1