changeset 3275:1c55ed1a5044 libavformat

Fix 'comparison always false' warning. patch by Diego 'Flameeyes' Petten, flameeyes gmail com
author diego
date Sun, 04 May 2008 10:29:12 +0000
parents 194be504f61d
children 24284961452b
files nutdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nutdec.c	Sat May 03 00:12:32 2008 +0000
+++ b/nutdec.c	Sun May 04 10:29:12 2008 +0000
@@ -425,7 +425,7 @@
             type= "v";
         }
 
-        if (stream_id_plus1 < 0 || stream_id_plus1 > s->nb_streams) {
+        if (stream_id_plus1 > s->nb_streams) {
             av_log(s, AV_LOG_ERROR, "invalid stream id for info packet\n");
             continue;
         }