mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
07b3b779a9
commit
ce0834bdd6
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue