diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-05-04 14:29:12 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-04 14:29:12 +0400 |
commit | d6f142a1f8e77fb73263ba9c204ad2314951b9e3 (patch) | |
tree | b0f874ae0161dd28812abbd2d4c883be528558c8 /libavformat/nutdec.c | |
parent | 9db5bdfaa53aab9e48423c207db66eca195bed14 (diff) |
Fix 'comparison always false' warning.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
Originally committed as revision 13056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 186e308a72..03c684da9b 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -425,7 +425,7 @@ static int decode_info_header(NUTContext *nut){ 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; } |