summaryrefslogtreecommitdiffstats
path: root/libavformat/mp3dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-05 02:52:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-05 02:52:41 +0200
commit1787432b2344f4bc5873b79a9436303786b8d568 (patch)
tree636f026a3f2deec279b05c769da049b66c4b6bc9 /libavformat/mp3dec.c
parent6bbcae2c16e74373bd396b9502ccbe362106346a (diff)
downloadffmpeg-streaming-1787432b2344f4bc5873b79a9436303786b8d568.zip
ffmpeg-streaming-1787432b2344f4bc5873b79a9436303786b8d568.tar.gz
mp3dec: make const tables static const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r--libavformat/mp3dec.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud