mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Remove a test on an always false condition.
Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
351653a51e
commit
61ac77f1af
@ -738,7 +738,7 @@ const char *av_convert_lang_to(const char *lang, enum AVLangCodespace target_cod
|
||||
const LangEntry *entry = NULL;
|
||||
const int NB_CODESPACES = sizeof(lang_table_counts)/sizeof(*lang_table_counts);
|
||||
|
||||
if (target_codespace < 0 || target_codespace >= NB_CODESPACES)
|
||||
if (target_codespace >= NB_CODESPACES)
|
||||
return NULL;
|
||||
|
||||
for (i=0; !entry && i<NB_CODESPACES; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user