From d8a1633ee4b7141adac692831c1728dffd9c44d1 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Fri, 18 Mar 2016 11:09:18 +0100 Subject: [PATCH] lavf/avidec: Add blurb regarding the skipping of xxpc entries in the index Signed-off-by: Michael Niedermayer --- libavformat/avidec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 49c97d9f75..8ce07ab310 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1581,6 +1581,8 @@ static int avi_read_idx1(AVFormatContext *s, int size) st = s->streams[index]; ast = st->priv_data; + /* Skip 'xxpc' palette change entries in the index until a logic + * to process these is properly implemented. */ if ((tag >> 16 & 0xff) == 'p' && (tag >> 24 & 0xff) == 'c') continue;