# HG changeset patch # User diego # Date 1209896952 0 # Node ID 1c55ed1a5044add4e918d74b70a9530d70ae3c44 # Parent 194be504f61d3447752eb519b3c2524082e8fb98 Fix 'comparison always false' warning. patch by Diego 'Flameeyes' Petten, flameeyes gmail com diff -r 194be504f61d -r 1c55ed1a5044 nutdec.c --- 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; }