mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1205179: [mp4] Don't reject 7 bytes long avcC atom. r=gerald
An AVC3 stream will typically use 7 bytes avcC (due to have 0 SPS/PPS)
This commit is contained in:
parent
5aa3109cd9
commit
754aca9372
@ -1732,7 +1732,7 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) {
|
||||
|
||||
case FOURCC('a', 'v', 'c', 'C'):
|
||||
{
|
||||
if (chunk_data_size <= 7) {
|
||||
if (chunk_data_size < 7) {
|
||||
ALOGE("short avcC chunk (%d bytes)", chunk_data_size);
|
||||
return ERROR_MALFORMED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user