Mercurial > libavformat.hg
diff nutdec.c @ 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 | 8891d470ada3 |
| children | 6f61c3b36632 |
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; }
