summaryrefslogtreecommitdiffstats
path: root/libhb/lang.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-01-29 09:05:44 -0700
committerJohn Stebbins <[email protected]>2016-01-29 09:05:44 -0700
commitda7b1d29c60f740037883f44e07415580fc5d9a9 (patch)
tree9af15daec5e79d5173191823e655c27ba2e0e1b8 /libhb/lang.h
parent09afa66f873a456ae41b7149a5b741be34bfaec8 (diff)
libhb: fix use of uninitialized variable in lang.c
It caused crashes in some builds
Diffstat (limited to 'libhb/lang.h')
-rw-r--r--libhb/lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/lang.h b/libhb/lang.h
index 7d794910c..a0db17162 100644
--- a/libhb/lang.h
+++ b/libhb/lang.h
@@ -30,7 +30,7 @@ const iso639_lang_t * lang_lookup( const char * str );
const int lang_lookup_index( const char * str );
/* return language for an index into the language table */
-iso639_lang_t * lang_for_index( int index );
+const iso639_lang_t * lang_for_index( int index );
/* find language associated with ISO-639-1 language code */
iso639_lang_t * lang_for_code( int code );