summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorThierry Foucu <tfoucu@gmail.com>2011-07-20 20:33:25 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-21 09:34:41 -0700
commit73c0dd939d503aaf83d3266181a156615eeb77d5 (patch)
treee8472d6382171fda4e84ec91b6c339911cfa03d4 /libavformat/mov.c
parentc4ab43ff3c65de1d3d565a12e1ac8fae176bbd1a (diff)
mov: add clcp type track as Subtitle stream.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 0de2bfc325..92b1b14f15 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 */