Remove a test on an always false condition.

Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Benoit Fouet 16 years ago
parent 351653a51e
commit 61ac77f1af
  1. 2
      libavformat/avlanguage.c

@ -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++)

Loading…
Cancel
Save