summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-16 05:13:55 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-16 05:13:55 +0000
commit2229a5c60e44cad0a7f5feadea990a9ff6cb8863 (patch)
treefa258d3246b6b0e5a1bc7cf83b80609a368d2e07 /libavformat/mov.c
parent170e6b14f7e8e80e540a73b69863adaf6b4b1dc8 (diff)
do not set isom if ctype is not set, happens in mov
Originally committed as revision 17998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 10aaac2bd0..74e1c1d98c 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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'))