diff movenc.c @ 3474:f4f6a7234040 libavformat

simplify
author bcoudurier
date Sat, 14 Jun 2008 21:11:16 +0000
parents 87259205d376
children 654b3aa1cab4
line wrap: on
line diff
--- a/movenc.c	Sat Jun 14 21:10:11 2008 +0000
+++ b/movenc.c	Sat Jun 14 21:11:16 2008 +0000
@@ -1412,7 +1412,8 @@
         put_tag(pb, "iso2");
         if(has_h264)
             put_tag(pb, "avc1");
-    }
+    }else
+        put_tag(pb, "qt  ");
 
     if (mov->mode == MODE_3GP)
         put_tag(pb, has_h264 ? "3gp6":"3gp4");
@@ -1422,8 +1423,6 @@
         put_tag(pb, "MSNV");
     else if (mov->mode == MODE_MP4)
         put_tag(pb, "mp41");
-    else if(mov->mode == MODE_MOV)
-        put_tag(pb, "qt  ");
     return updateSize(pb, pos);
 }