Browse code

ac3enc: Mark AVClasses const

Signed-off-by: Martin Storsjö <martin@martin.st>

Martin Storsjö authored on 2011/07/15 06:21:15
Showing 3 changed files
... ...
@@ -32,8 +32,8 @@
32 32
 
33 33
 #define AC3ENC_TYPE AC3ENC_TYPE_AC3_FIXED
34 34
 #include "ac3enc_opts_template.c"
35
-static AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
36
-                                ac3fixed_options, LIBAVUTIL_VERSION_INT };
35
+static const AVClass ac3enc_class = { "Fixed-Point AC-3 Encoder", av_default_item_name,
36
+                                      ac3fixed_options, LIBAVUTIL_VERSION_INT };
37 37
 
38 38
 #include "ac3enc_template.c"
39 39
 
... ...
@@ -35,8 +35,8 @@
35 35
 #if CONFIG_AC3_ENCODER
36 36
 #define AC3ENC_TYPE AC3ENC_TYPE_AC3
37 37
 #include "ac3enc_opts_template.c"
38
-static AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
39
-                                ac3_options, LIBAVUTIL_VERSION_INT };
38
+static const AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
39
+                                      ac3_options, LIBAVUTIL_VERSION_INT };
40 40
 #endif
41 41
 
42 42
 #include "ac3enc_template.c"
... ...
@@ -31,8 +31,8 @@
31 31
 
32 32
 #define AC3ENC_TYPE AC3ENC_TYPE_EAC3
33 33
 #include "ac3enc_opts_template.c"
34
-static AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
35
-                                 eac3_options, LIBAVUTIL_VERSION_INT };
34
+static const AVClass eac3enc_class = { "E-AC-3 Encoder", av_default_item_name,
35
+                                       eac3_options, LIBAVUTIL_VERSION_INT };
36 36
 
37 37
 
38 38
 void ff_eac3_set_cpl_states(AC3EncodeContext *s)