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

The 2nd size value is wrong for the sample file

Fixes: Ticket4903

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-10-12 03:32:54 +02:00
parent 07b3b779a9
commit ce0834bdd6
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}
}