From 87494ea03ce5e655e3adf0f2ecbb332fb0a9380e Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 7 Aug 2006 15:04:15 +0000 Subject: [PATCH] detailed infos about d263 atom Originally committed as revision 5952 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f14171b..b2c83ea 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -397,8 +397,10 @@ static int mov_write_d263_tag(ByteIOContext *pb) put_be32(pb, 0xf); /* size */ put_tag(pb, "d263"); put_tag(pb, "FFMP"); - put_be16(pb, 0x0a); - put_byte(pb, 0); + put_byte(pb, 0); /* decoder version */ + /* FIXME use AVCodecContext level/profile, when encoder will set values */ + put_byte(pb, 0xa); /* level */ + put_byte(pb, 0); /* profile */ return 0xf; } -- 2.7.4