mov_probe: fix integer overflows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9b762e2cba
commit
a4fe661157
@ -2858,7 +2858,7 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
|
|
||||||
static int mov_probe(AVProbeData *p)
|
static int mov_probe(AVProbeData *p)
|
||||||
{
|
{
|
||||||
unsigned int offset;
|
int64_t offset;
|
||||||
uint32_t tag;
|
uint32_t tag;
|
||||||
int score = 0;
|
int score = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user