CC: libav-stable@libav.org
Bug-Id: CID 732246
... | ... |
@@ -84,7 +84,7 @@ static int read_packet(AVFormatContext *s, |
84 | 84 |
return AVERROR(EIO); |
85 | 85 |
pkt->dts = avio_tell(s->pb) / (st->codec->width * (st->codec->height + film->leading) * 4); |
86 | 86 |
pkt->size = av_get_packet(s->pb, pkt, st->codec->width * st->codec->height * 4); |
87 |
- avio_skip(s->pb, st->codec->width * film->leading * 4); |
|
87 |
+ avio_skip(s->pb, st->codec->width * (int64_t) film->leading * 4); |
|
88 | 88 |
if (pkt->size < 0) |
89 | 89 |
return pkt->size; |
90 | 90 |
pkt->flags |= AV_PKT_FLAG_KEY; |