From ea7ebadeb78c76ff14a85982d22fe4976aee3fbd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Sep 2014 00:46:44 +0200 Subject: [PATCH] avformat/rmdec: very basic MLTI support Fixes Ticket2152 Signed-off-by: Michael Niedermayer --- libavformat/rmdec.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index f53ab8c541..5d9c9b5b4f 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -315,6 +315,21 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb, avpriv_set_pts_info(st, 64, 1, 1000); codec_pos = avio_tell(pb); v = avio_rb32(pb); + + if (v == MKBETAG('M', 'L', 'T', 'I')) { + int number_of_streams = avio_rb16(pb); + int number_of_mdpr; + int i; + for (i = 0; i