Commit ce0834bd authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/flvdec: set broken_sizes for "metadatacreator : MEGA"

The 2nd size value is wrong for the sample file

Fixes: Ticket4903
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 07b3b779
......@@ -525,6 +525,8 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
if (version > 0 && version <= 655)
flv->broken_sizes = 1;
}
} else if (!strcmp(key, "metadatacreator") && !strcmp(str_val, "MEGA")) {
flv->broken_sizes = 1;
}
}
}
......
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