Mercurial > libavformat.hg
changeset 5040:79169d57638b libavformat
Remove a test on an always false condition.
author | benoit |
---|---|
date | Wed, 17 Jun 2009 07:05:17 +0000 |
parents | d35f30da9724 |
children | 573d181e477c |
files | avlanguage.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/avlanguage.c Wed Jun 17 00:37:06 2009 +0000 +++ b/avlanguage.c Wed Jun 17 07:05:17 2009 +0000 @@ -738,7 +738,7 @@ 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++)