diff sonic.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents e943e1409077
children 85ab7655ad4d
line wrap: on
line diff
--- a/sonic.c	Tue Jun 24 18:38:55 2008 +0000
+++ b/sonic.c	Tue Jun 24 20:01:31 2008 +0000
@@ -481,7 +481,7 @@
 }
 #endif /* CONFIG_ENCODERS */
 
-static int samplerate_table[] =
+static const int samplerate_table[] =
     { 44100, 22050, 11025, 96000, 48000, 32000, 24000, 16000, 8000 };
 
 #ifdef CONFIG_ENCODERS