diff options
author | John Stebbins <[email protected]> | 2016-01-29 09:05:44 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-01-29 09:05:44 -0700 |
commit | da7b1d29c60f740037883f44e07415580fc5d9a9 (patch) | |
tree | 9af15daec5e79d5173191823e655c27ba2e0e1b8 /libhb/lang.h | |
parent | 09afa66f873a456ae41b7149a5b741be34bfaec8 (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.h | 2 |
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 ); |