From 42b9f45c0d9daa008b05e2b5c45712b67a8cb151 Mon Sep 17 00:00:00 2001
From: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Date: Wed, 21 May 2008 22:53:52 +0000
Subject: 10l, fix compilation

Originally committed as revision 13229 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/ffm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libavformat')

diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index 6c79a9d733..deb30a6e7d 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -260,7 +260,7 @@ static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
     ffm_write_data(s, header, FRAME_HEADER_SIZE, pts, 1);
     ffm_write_data(s, pkt->data, size, pts, 0);
 
-    fst->pts += duration;
+    fst->pts += pkt->duration;
     return 0;
 }
 
-- 
cgit v1.2.3