diff options
author | Rodeo <[email protected]> | 2013-01-04 15:02:07 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-01-04 15:02:07 +0000 |
commit | bc5053fcb1eb98c81f8a0e1f3062379d90968ff5 (patch) | |
tree | 20df64ca714271934db2b91b29768b3aaa88340a /libhb/common.h | |
parent | 81321500fa1dfce2c59a424a390e6a0226bfbdbc (diff) |
hb_rate_s, hb_mixdown_s, hb_encoder_s: use const char * instead of char *
These are used in hardcoded tables, so there will never be a need for mutable strings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5148 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libhb/common.h b/libhb/common.h index e9b5c29e3..32a23d5fd 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -170,24 +170,24 @@ void hb_chapter_set_title(hb_chapter_t *chapter, const char *title); struct hb_rate_s { - char * string; - int rate; + const char *string; + int rate; }; struct hb_mixdown_s { - char * human_readable_name; - char * internal_name; - char * short_name; - int amixdown; + const char *human_readable_name; + const char *internal_name; + const char *short_name; + int amixdown; }; struct hb_encoder_s { - char * human_readable_name; // note: used in presets - char * short_name; // note: used in CLI - int encoder; // HB_*CODEC_* define - int muxers; // supported muxers + const char *human_readable_name; // note: used in presets + const char *short_name; // note: used in CLI + int encoder; // HB_*CODEC_* define + int muxers; // supported muxers }; struct hb_subtitle_config_s |