diff options
author | Martin Storsjö <martin@martin.st> | 2011-07-15 00:21:15 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-07-15 00:26:23 +0300 |
commit | ca5d57ef8ace36ca465208e04aaae1b461cb514a (patch) | |
tree | 1b42a4d57db9dd08f4c06bac0f5a1e06e1a91b99 /libavcodec | |
parent | 863e2046fdcdf26493effb6e696d98c9dc23b4a7 (diff) | |
download | ffmpeg-ca5d57ef8ace36ca465208e04aaae1b461cb514a.tar.gz |
ac3enc: Mark AVClasses const
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ac3enc_fixed.c | 4 | ||||
-rw-r--r-- | libavcodec/ac3enc_float.c | 4 | ||||
-rw-r--r-- | libavcodec/eac3enc.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c index 15c5a4bca7..ed8992ebff 100644 --- a/libavcodec/ac3enc_fixed.c +++ b/libavcodec/ac3enc_fixed.c @@ -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" diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index deec79ce8f..776d185fa4 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -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" diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c index f39b9f1925..0433db49d7 100644 --- a/libavcodec/eac3enc.c +++ b/libavcodec/eac3enc.c @@ -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) |