mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 10:18:38 +09:00
libstagefright: relax ctts flags checking.
this fixes playing video(GIFV) in https://twitter.com/KeviSkillz/status/1527748243001581571
This commit is contained in:
parent
fee810585e
commit
d9f1118729
1 changed files with 2 additions and 2 deletions
|
|
@ -406,8 +406,8 @@ status_t SampleTable::setCompositionTimeToSampleParams(
|
|||
uint32_t version = flags >> 24;
|
||||
flags &= 0xffffff;
|
||||
|
||||
if ((version != 0 && version != 1) || flags != 0) {
|
||||
// Expected version = 0 or 1, flags = 0.
|
||||
if ((version != 0 && version != 1) || flags > 1) {
|
||||
// Expected version = 0 or 1, flags = 0 or 1.
|
||||
return ERROR_MALFORMED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue