Commit e47d979c authored by Michael Niedermayer's avatar Michael Niedermayer

asfdec: ignore too tiny indexes

Fixes Ticket1521
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5e3900c7
......@@ -1362,7 +1362,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index)
last_pos=pos;
}
}
asf->index_read= ict > 0;
asf->index_read= ict > 1;
}
avio_seek(s->pb, current_pos, SEEK_SET);
}
......
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