From 5afb94c817abffad030c6b94d7003dca8aace3d5 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 11 Nov 2015 17:38:43 +0100 Subject: Mark read-only tables as static --- 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 89fb376a06..0838962e76 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -151,7 +151,7 @@ static void mp3_parse_info_tag(AVFormatContext *s, AVStream *st, int32_t r_gain = INT32_MIN, a_gain = INT32_MIN; MP3DecContext *mp3 = s->priv_data; - const int64_t xing_offtbl[2][2] = {{32, 17}, {17,9}}; + static const int64_t xing_offtbl[2][2] = { { 32, 17 }, { 17, 9 } }; /* Check for Xing / Info tag */ avio_skip(s->pb, xing_offtbl[c->lsf == 1][c->nb_channels == 1]); -- cgit v1.2.3