changeset 3468:08e0dba7c5b1 libavformat

Add isom to the compatible brands.
author michael
date Fri, 13 Jun 2008 12:19:01 +0000
parents 7baaf426d757
children e819cfc46b1d
files movenc.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Fri Jun 13 11:30:36 2008 +0000
+++ b/movenc.c	Fri Jun 13 12:19:01 2008 +0000
@@ -1404,6 +1404,10 @@
 
     put_be32(pb, 0x200);
 
+    if(mov->mode != MODE_MOV){
+        put_tag(pb, "isom");
+    }
+
     if (mov->mode == MODE_3GP)
         put_tag(pb, "3gp4");
     else if (mov->mode & MODE_3G2)
@@ -1412,9 +1416,7 @@
         put_tag(pb, "MSNV");
     else if (mov->mode == MODE_MP4)
         put_tag(pb, "mp41");
-    else if (mov->mode == MODE_IPOD)
-        put_tag(pb, "isom");
-    else
+    else if(mov->mode == MODE_MOV)
         put_tag(pb, "qt  ");
     return updateSize(pb, pos);
 }