comparison 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
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
479 479
480 av_free(state); 480 av_free(state);
481 } 481 }
482 #endif /* CONFIG_ENCODERS */ 482 #endif /* CONFIG_ENCODERS */
483 483
484 static int samplerate_table[] = 484 static const int samplerate_table[] =
485 { 44100, 22050, 11025, 96000, 48000, 32000, 24000, 16000, 8000 }; 485 { 44100, 22050, 11025, 96000, 48000, 32000, 24000, 16000, 8000 };
486 486
487 #ifdef CONFIG_ENCODERS 487 #ifdef CONFIG_ENCODERS
488 488
489 static inline int code_samplerate(int samplerate) 489 static inline int code_samplerate(int samplerate)