summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-01-04 15:02:07 +0000
committerRodeo <[email protected]>2013-01-04 15:02:07 +0000
commitbc5053fcb1eb98c81f8a0e1f3062379d90968ff5 (patch)
tree20df64ca714271934db2b91b29768b3aaa88340a /libhb/common.c
parent81321500fa1dfce2c59a424a390e6a0226bfbdbc (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.c')
-rw-r--r--libhb/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 978972269..21729cd4f 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -378,7 +378,8 @@ void hb_autopassthru_apply_settings( hb_job_t * job )
void hb_autopassthru_print_settings( hb_job_t * job )
{
int i, codec_len;
- char *mask = NULL, *tmp, *fallback = NULL;
+ char *mask = NULL, *tmp;
+ const char *fallback = NULL;
for( i = 0; i < hb_audio_encoders_count; i++ )
{
if( ( hb_audio_encoders[i].encoder & HB_ACODEC_PASS_FLAG ) &&