From aecf157ed0c193b2f871102ccbe2bc39877dfc93 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 24 Aug 2008 17:24:34 +0000 Subject: Mark several libavformat arrays const Originally committed as revision 14950 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mmf.c') diff --git a/libavformat/mmf.c b/libavformat/mmf.c index a0185c3ad4..04bf871fa5 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -27,7 +27,7 @@ typedef struct { offset_t data_size; } MMFContext; -static int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 }; +static const int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 }; static int mmf_rate(int code) { -- cgit v1.2.3