Commit aebeb866 authored by bcoudurier's avatar bcoudurier

do not set isom if ctype is not set, happens in mov

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17998 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9f4fbb8c
...@@ -233,8 +233,7 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom) ...@@ -233,8 +233,7 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
((char *)&ctype)[2], ((char *)&ctype)[3], (int) ctype); ((char *)&ctype)[2], ((char *)&ctype)[3], (int) ctype);
dprintf(c->fc, "stype= %c%c%c%c\n", dprintf(c->fc, "stype= %c%c%c%c\n",
*((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]); *((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]);
if(!ctype)
c->isom = 1;
if (type == MKTAG('v','i','d','e')) if (type == MKTAG('v','i','d','e'))
st->codec->codec_type = CODEC_TYPE_VIDEO; st->codec->codec_type = CODEC_TYPE_VIDEO;
else if(type == MKTAG('s','o','u','n')) else if(type == MKTAG('s','o','u','n'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment