Do not try to parse empty strf tags.
This commit is contained in:
parent
fae714a9fb
commit
39f6733f05
@ -570,6 +570,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
break;
|
||||
case MKTAG('s', 't', 'r', 'f'):
|
||||
/* stream header */
|
||||
if (!size)
|
||||
break;
|
||||
if (stream_index >= (unsigned)s->nb_streams || avi->dv_demux) {
|
||||
avio_skip(pb, size);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user