[Ffmpeg-cvslog] r5692 - trunk/libavcodec/parser.c

mru subversion
Sun Jul 9 15:01:06 CEST 2006


Author: mru
Date: Sun Jul  9 15:01:06 2006
New Revision: 5692

Modified:
   trunk/libavcodec/parser.c

Log:
make some tables const


Modified: trunk/libavcodec/parser.c
==============================================================================
--- trunk/libavcodec/parser.c	(original)
+++ trunk/libavcodec/parser.c	Sun Jul  9 15:01:06 2006
@@ -832,12 +832,12 @@
 #endif /* CONFIG_AC3_PARSER */
 
 #ifdef CONFIG_AAC_PARSER
-static int aac_sample_rates[16] = {
+static const int aac_sample_rates[16] = {
     96000, 88200, 64000, 48000, 44100, 32000,
     24000, 22050, 16000, 12000, 11025, 8000, 7350
 };
 
-static int aac_channels[8] = {
+static const int aac_channels[8] = {
     0, 1, 2, 3, 4, 5, 6, 8
 };
 #endif




More information about the ffmpeg-cvslog mailing list