From 61ac77f1af3767241a4657da95da753dafb1a657 Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Wed, 17 Jun 2009 07:05:17 +0000 Subject: [PATCH] Remove a test on an always false condition. Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avlanguage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avlanguage.c b/libavformat/avlanguage.c index 3b778124b6..fbe88e78e4 100644 --- a/libavformat/avlanguage.c +++ b/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 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