detailed infos about d263 atom
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 7 Aug 2006 15:04:15 +0000 (15:04 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 7 Aug 2006 15:04:15 +0000 (15:04 +0000)
Originally committed as revision 5952 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/movenc.c

index f14171b..b2c83ea 100644 (file)
@@ -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;
 }