mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe
This commit is contained in:
parent
953073e82b
commit
dd0783ff84
@ -485,7 +485,7 @@ status_t MPEG4Extractor::readMetaData() {
|
||||
break;
|
||||
}
|
||||
uint32_t chunk_type = ntohl(hdr[1]);
|
||||
if (chunk_type == FOURCC('m', 'd', 'a', 't')) {
|
||||
if (chunk_type == FOURCC('m', 'd', 'a', 't') && mFirstTrack) {
|
||||
break;
|
||||
}
|
||||
if (chunk_type == FOURCC('m', 'o', 'o', 'f')) {
|
||||
|
Loading…
Reference in New Issue
Block a user