mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue