[FFmpeg-cvslog] avformat: fix orig_pos type to match pkt->pos

Paul B Mahol git at videolan.org
Tue Apr 23 15:56:56 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Apr 23 13:53:49 2013 +0000| [ad56535dd1d7204ea0958decac15e8dfc86162ea] | committer: Paul B Mahol

avformat: fix orig_pos type to match pkt->pos

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad56535dd1d7204ea0958decac15e8dfc86162ea
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 3267e52..c1f1362 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;
 



More information about the ffmpeg-cvslog mailing list