mirror of https://git.ffmpeg.org/ffmpeg.git
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e22f2aaf99
commit
c33fc0a540
|
@ -397,7 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||
break;
|
||||
case MKTAG('s', 't', 'r', 'f'):
|
||||
/* stream header */
|
||||
if (stream_index >= s->nb_streams || avi->dv_demux) {
|
||||
if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) {
|
||||
url_fskip(pb, size);
|
||||
} else {
|
||||
st = s->streams[stream_index];
|
||||
|
|
Loading…
Reference in New Issue