changeset 1240:504be467b795 libavformat

detailed infos about d263 atom
author bcoudurier
date Mon, 07 Aug 2006 15:04:15 +0000
parents 18130af77b09
children 11fbe0326131
files movenc.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Mon Aug 07 14:19:33 2006 +0000
+++ b/movenc.c	Mon Aug 07 15:04:15 2006 +0000
@@ -397,8 +397,10 @@
     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;
 }