[FFmpeg-cvslog] r19214 - trunk/libavformat/avlanguage.c

benoit subversion
Wed Jun 17 09:05:17 CEST 2009


Author: benoit
Date: Wed Jun 17 09:05:17 2009
New Revision: 19214

Log:
Remove a test on an always false condition.

Modified:
   trunk/libavformat/avlanguage.c

Modified: trunk/libavformat/avlanguage.c
==============================================================================
--- trunk/libavformat/avlanguage.c	Wed Jun 17 07:54:42 2009	(r19213)
+++ trunk/libavformat/avlanguage.c	Wed Jun 17 09:05:17 2009	(r19214)
@@ -738,7 +738,7 @@ const char *av_convert_lang_to(const cha
     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++)



More information about the ffmpeg-cvslog mailing list