Commit b70f04c2 authored by Martin Storsjö's avatar Martin Storsjö

flvdec: Ignore the index if the ignidx flag is set

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 0a7ce3ca
......@@ -157,6 +157,9 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream
return 0;
}
if (s->flags & AVFMT_FLAG_IGNIDX)
return 0;
while (avio_tell(ioc) < max_pos - 2 && amf_get_string(ioc, str_val, sizeof(str_val)) > 0) {
int64_t* current_array;
......
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