Commit 61ac77f1 authored by Benoit Fouet's avatar Benoit Fouet

Remove a test on an always false condition.

Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 351653a5
......@@ -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