diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2009-06-17 07:05:17 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-06-17 07:05:17 +0000 |
commit | 61ac77f1af3767241a4657da95da753dafb1a657 (patch) | |
tree | 7934172c1e9c1f653d225f4190e0d6a81db27c3a /libavformat | |
parent | 351653a51eb35e2706d8d868bf64d96d2d6c8f55 (diff) | |
download | ffmpeg-61ac77f1af3767241a4657da95da753dafb1a657.tar.gz |
Remove a test on an always false condition.
Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avlanguage.c | 2 |
1 files changed, 1 insertions, 1 deletions
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<NB_CODESPACES; i++) |