From 634b256913b386321ad6d082a407ad43f92b96e5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Mar 2007 01:42:35 +0000 Subject: all asf files i have have this field at 2 so lets try to change it to that ... Originally committed as revision 8238 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/asf-enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/asf-enc.c') diff --git a/libavformat/asf-enc.c b/libavformat/asf-enc.c index da3bc73726..b4bbc45a01 100644 --- a/libavformat/asf-enc.c +++ b/libavformat/asf-enc.c @@ -311,7 +311,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data put_le64(pb, duration); /* end time stamp (in 100ns units) */ put_le64(pb, duration); /* duration (in 100ns units) */ put_le64(pb, preroll_time); /* start time stamp */ - put_le32(pb, asf->is_streamed ? 1 : 0); /* ??? */ + put_le32(pb, asf->is_streamed ? 3 : 2); /* ??? */ put_le32(pb, asf->packet_size); /* packet size */ put_le32(pb, asf->packet_size); /* packet size */ put_le32(pb, bit_rate); /* Nominal data rate in bps */ -- cgit v1.2.3