From 73c0dd939d503aaf83d3266181a156615eeb77d5 Mon Sep 17 00:00:00 2001 From: Thierry Foucu Date: Wed, 20 Jul 2011 20:33:25 -0700 Subject: [PATCH] mov: add clcp type track as Subtitle stream. Signed-off-by: Ronald S. Bultje --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 0de2bfc..92b1b14 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -451,7 +451,7 @@ static int mov_read_hdlr(MOVContext *c, AVIOContext *pb, MOVAtom atom) st->codec->codec_type = AVMEDIA_TYPE_AUDIO; else if(type == MKTAG('m','1','a',' ')) st->codec->codec_id = CODEC_ID_MP2; - else if(type == MKTAG('s','u','b','p')) + else if((type == MKTAG('s','u','b','p')) || (type == MKTAG('c','l','c','p'))) st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE; avio_rb32(pb); /* component manufacture */ -- 2.7.4