mp4: fix PADB parsing
commit94f3a3408e2067cc58dee62c434713b22435aa53
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 24 Nov 2017 17:03:18 +0000 (24 19:03 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 24 Nov 2017 19:54:24 +0000 (24 21:54 +0200)
tree93acae44c131e1e8644dee7793c534e15369be7d
parent794b54c8fb52ec0d2cdbadae92b0226f8fafd799
mp4: fix PADB parsing

 - Fix interger overflow if sample count is 0xffffffff.
 - Merge table pairs.
 - Rationalize table sizes.
 - Check data size before allocation.

Not sure why we even extract those though - nothing reads the data.
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.h