Commit 944a1aa3 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/yuv4mpegdec: Use 64bit for file offset

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f8db8107
......@@ -270,7 +270,8 @@ static int yuv4_read_packet(AVFormatContext *s, AVPacket *pkt)
{
int i;
char header[MAX_FRAME_HEADER+1];
int ret, off = avio_tell(s->pb);
int ret;
int64_t off = avio_tell(s->pb);
for (i = 0; i < MAX_FRAME_HEADER; i++) {
header[i] = avio_r8(s->pb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment