summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-07 15:04:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-07 15:04:15 +0000
commit87494ea03ce5e655e3adf0f2ecbb332fb0a9380e (patch)
treeb5a5437af4febe4e1a7abdcb2ffe78f7f2d310b3 /libavformat/movenc.c
parentefbe19fd441d1a7077fa659515a752875d954a28 (diff)
detailed infos about d263 atom
Originally committed as revision 5952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index f14171bf63..b2c83ea0c6 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;
}