ac3enc: Mark AVClasses const
authorMartin Storsjö <martin@martin.st>
Thu, 14 Jul 2011 21:21:15 +0000 (00:21 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 14 Jul 2011 21:26:23 +0000 (00:26 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/ac3enc_fixed.c
libavcodec/ac3enc_float.c
libavcodec/eac3enc.c

index 15c5a4bca74f2ce65526c76867366357593b4127..ed8992ebff084e561db4c342fddf29710a0eb1ba 100644 (file)
@@ -32,8 +32,8 @@
 
 #define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
 #include "ac3enc_opts_template.c"
-static AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
-                                ac3fixed_options, LIBAVUTIL_VERSION_INT };
+static const AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
+                                      ac3fixed_options, LIBAVUTIL_VERSION_INT };
 
 #include "ac3enc_template.c"
 
index deec79ce8f35ce4f04857538e6998ad2eef09206..776d185fa4dfa49b5a550543ed95202b43e2061a 100644 (file)
@@ -35,8 +35,8 @@
 #if CONFIG_AC3_ENCODER
 #define AC3ENC_TYPE AC3ENC_TYPE_AC3
 #include "ac3enc_opts_template.c"
-static AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
-                                ac3_options, LIBAVUTIL_VERSION_INT };
+static const AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
+                                      ac3_options, LIBAVUTIL_VERSION_INT };
 #endif
 
 #include "ac3enc_template.c"
index f39b9f192551a44934a387c255f5d4e0cffdf845..0433db49d7b8757de29d7908db282a233e83a22c 100644 (file)
@@ -31,8 +31,8 @@
 
 #define AC3ENC_TYPE AC3ENC_TYPE_EAC3
 #include "ac3enc_opts_template.c"
-static AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
-                                 eac3_options, LIBAVUTIL_VERSION_INT };
+static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
+                                       eac3_options, LIBAVUTIL_VERSION_INT };
 
 
 void ff_eac3_set_cpl_states(AC3EncodeContext *s)