aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-05-04 10:29:12 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-04 10:29:12 +0000
commitd6f142a1f8e77fb73263ba9c204ad2314951b9e3 (patch)
treeb0f874ae0161dd28812abbd2d4c883be528558c8 /libavformat
parent9db5bdfaa53aab9e48423c207db66eca195bed14 (diff)
downloadffmpeg-d6f142a1f8e77fb73263ba9c204ad2314951b9e3.tar.gz
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')
-rw-r--r--libavformat/nutdec.c2
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;
}