1
0
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:
Benoit Fouet 2009-06-17 07:05:17 +00:00
parent 351653a51e
commit 61ac77f1af

View File

@ -738,7 +738,7 @@ const char *av_convert_lang_to(const char *lang, enum AVLangCodespace target_cod
const LangEntry *entry = NULL; const LangEntry *entry = NULL;
const int NB_CODESPACES = sizeof(lang_table_counts)/sizeof(*lang_table_counts); 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; return NULL;
for (i=0; !entry && i<NB_CODESPACES; i++) for (i=0; !entry && i<NB_CODESPACES; i++)