mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
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
This commit is contained in:
parent
9db5bdfaa5
commit
d6f142a1f8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user