From ad56535dd1d7204ea0958decac15e8dfc86162ea Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 23 Apr 2013 13:53:49 +0000 Subject: [PATCH] avformat: fix orig_pos type to match pkt->pos Signed-off-by: Paul B Mahol --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 3267e52846..c1f1362c1a 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -284,7 +284,7 @@ int ffio_limit(AVIOContext *s, int size) */ static int append_packet_chunked(AVIOContext *s, AVPacket *pkt, int size) { - int orig_pos = pkt->pos; // av_grow_packet might reset pos + int64_t orig_pos = pkt->pos; // av_grow_packet might reset pos int orig_size = pkt->size; int ret;