mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avformat/yuv4mpegdec: Use 64bit for file offset
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
f8db81074a
commit
944a1aa3c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user