[FFmpeg-devel] [PATCH] Add clcp type track as Subtitle stream.
Thierry Foucu
tfoucu at gmail.com
Thu Jul 21 01:05:55 CEST 2011
---
libavformat/mov.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f26162d..fdb29a0 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -456,7 +456,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 */
--
1.7.3.1
More information about the ffmpeg-devel
mailing list