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;