Commit 7796d7b5 authored by benoit's avatar benoit

Remove a test on an always false condition.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 58fffb02
......@@ -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++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment