Commit 1f8b35dd authored by diego's avatar diego

Fix 'comparison always false' warning.

patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13056 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 320d983d
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment