aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-21 22:53:52 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-05-21 22:53:52 +0000
commit42b9f45c0d9daa008b05e2b5c45712b67a8cb151 (patch)
treeb21354320e4052776f5315a180c78f97e451133d
parent5dae74e095ec4271c77547eda8864b52eae4e557 (diff)
downloadffmpeg-42b9f45c0d9daa008b05e2b5c45712b67a8cb151.tar.gz
10l, fix compilation
Originally committed as revision 13229 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/ffm.c2
1 files changed, 1 insertions, 1 deletions
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;
}