summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMats Peterson <matsp888@yahoo.com>2016-03-18 11:09:18 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-18 13:47:43 +0100
commitd8a1633ee4b7141adac692831c1728dffd9c44d1 (patch)
tree80ebd6c47ef9512f6ed0d654aa79da92ad3dbf62 /libavformat/avidec.c
parentf4b30beac0c1a70d6da1e3ffe1e74e9e55397d8e (diff)
lavf/avidec: Add blurb regarding the skipping of xxpc entries in the index
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 2 insertions, 0 deletions
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;