[FFmpeg-cvslog] avformat/yuv4mpegdec: Use 64bit for file offset
Michael Niedermayer
git at videolan.org
Sun Jul 12 00:14:52 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Jul 12 00:00:21 2015 +0200| [944a1aa3c5949deeb3724945f13b9878874658c2] | committer: Michael Niedermayer
avformat/yuv4mpegdec: Use 64bit for file offset
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=944a1aa3c5949deeb3724945f13b9878874658c2
---
libavformat/yuv4mpegdec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
index d998026..0db42f5 100644
--- a/libavformat/yuv4mpegdec.c
+++ b/libavformat/yuv4mpegdec.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list