From b6c7f870bed82d26f6885774b7c1568f59ad7123 Mon Sep 17 00:00:00 2001 From: Wolfram Gloger Date: Thu, 13 Jan 2005 13:09:35 +0000 Subject: [PATCH] 10l (a level of indirection too much) patch by (Wolfram Gloger ) Originally committed as revision 3834 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avienc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 2b3bbbe32a..c2e2429274 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -409,7 +409,7 @@ static int avi_write_header(AVFormatContext *s) parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale); put_le32(pb, au_scale); /* scale */ put_le32(pb, au_byterate); /* rate */ - av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate); + av_set_pts_info(s->streams[i], 64, au_scale, au_byterate); put_le32(pb, 0); /* start */ avi->frames_hdr_strm[i] = url_ftell(pb); /* remember this offset to fill later */ put_le32(pb, 0); /* length, XXX: filled later */