wtvdec: fix integer overflow resulting in errors with large files

This fixes a regression in 9fbc613f0d

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/113/head^2
Rodger Combs 10 years ago committed by Michael Niedermayer
parent f015d3d539
commit 62e95757d5
  1. 2
      libavformat/wtvdec.c

@ -965,7 +965,7 @@ static int read_header(AVFormatContext *s)
uint8_t root[WTV_SECTOR_SIZE]; uint8_t root[WTV_SECTOR_SIZE];
AVIOContext *pb; AVIOContext *pb;
int64_t timeline_pos; int64_t timeline_pos;
int ret; int64_t ret;
wtv->epoch = wtv->epoch =
wtv->pts = wtv->pts =

Loading…
Cancel
Save