diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-01-21 09:56:41 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-01-21 09:56:41 +0100 |
commit | db8ee7e7e0b1ca878ebde09cbc9ca6185c10fe38 (patch) | |
tree | fdc7dacce359bd50df8bbf66158099b44a7fc9fb /ext/twolame | |
parent | aa0c5c2a8499758bdc24741f75cac799dc3ac588 (diff) |
Constify some static arrays everywhere
Diffstat (limited to 'ext/twolame')
-rw-r--r-- | ext/twolame/gsttwolamemp2enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/twolame/gsttwolamemp2enc.c b/ext/twolame/gsttwolamemp2enc.c index 12b6f5ab0..63f1fd33c 100644 --- a/ext/twolame/gsttwolamemp2enc.c +++ b/ext/twolame/gsttwolamemp2enc.c @@ -113,7 +113,7 @@ static GType gst_two_lame_mode_get_type (void) { static GType two_lame_mode_type = 0; - static GEnumValue two_lame_modes[] = { + static const GEnumValue two_lame_modes[] = { {TWOLAME_AUTO_MODE, "Auto", "auto"}, {TWOLAME_STEREO, "Stereo", "stereo"}, {TWOLAME_JOINT_STEREO, "Joint Stereo", "joint"}, @@ -134,7 +134,7 @@ static GType gst_two_lame_padding_get_type (void) { static GType two_lame_padding_type = 0; - static GEnumValue two_lame_padding[] = { + static const GEnumValue two_lame_padding[] = { {TWOLAME_PAD_NO, "No Padding", "never"}, {TWOLAME_PAD_ALL, "Always Pad", "always"}, {0, NULL, NULL} @@ -152,7 +152,7 @@ static GType gst_two_lame_emphasis_get_type (void) { static GType two_lame_emphasis_type = 0; - static GEnumValue two_lame_emphasis[] = { + static const GEnumValue two_lame_emphasis[] = { {TWOLAME_EMPHASIS_N, "No emphasis", "none"}, {TWOLAME_EMPHASIS_5, "50/15 ms", "5"}, {TWOLAME_EMPHASIS_C, "CCIT J.17", "ccit"}, |