summaryrefslogtreecommitdiffstats
path: root/libhb/hb_dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb_dict.c')
-rw-r--r--libhb/hb_dict.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/hb_dict.c b/libhb/hb_dict.c
index 31b5492ad..5912139d5 100644
--- a/libhb/hb_dict.c
+++ b/libhb/hb_dict.c
@@ -155,7 +155,8 @@ hb_dict_t * hb_encopts_to_dict( const char * encopts, int encoder )
hb_dict_t * dict = NULL;
if( encopts && *encopts )
{
- char *cur_opt, *opts_start, *name, *value;
+ char *cur_opt, *opts_start, *value;
+ const char *name;
dict = hb_dict_init( 10 );
if( !dict )
return NULL;