changeset 3311:c603ff471631 libavformat

10l, fix compilation
author bcoudurier
date Wed, 21 May 2008 22:53:52 +0000
parents 66d5e19f7b77
children 20ea7e918398
files ffm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffm.c	Wed May 21 22:52:21 2008 +0000
+++ b/ffm.c	Wed May 21 22:53:52 2008 +0000
@@ -260,7 +260,7 @@
     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;
 }