changeset 4725:f2d519837d2d libavformat

do not set isom if ctype is not set, happens in mov
author bcoudurier
date Mon, 16 Mar 2009 05:13:55 +0000
parents 13ffc02ce5f8
children 1ce512298dbd
files mov.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Mar 15 23:54:53 2009 +0000
+++ b/mov.c	Mon Mar 16 05:13:55 2009 +0000
@@ -233,8 +233,7 @@
             ((char *)&ctype)[2], ((char *)&ctype)[3], (int) ctype);
     dprintf(c->fc, "stype= %c%c%c%c\n",
             *((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]);
-    if(!ctype)
-        c->isom = 1;
+
     if     (type == MKTAG('v','i','d','e'))
         st->codec->codec_type = CODEC_TYPE_VIDEO;
     else if(type == MKTAG('s','o','u','n'))