]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
do not set isom if ctype is not set, happens in mov
authorbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 16 Mar 2009 05:13:55 +0000 (05:13 +0000)
committerbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 16 Mar 2009 05:13:55 +0000 (05:13 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17998 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/mov.c

index 10aaac2bd04ed933e681fe3f11dfbd43e0ca2775..74e1c1d98c83258c71d76c4b5f29cc794e3cfaf3 100644 (file)
@@ -233,8 +233,7 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
             ((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'))