Add a small blurb, partly in order to encourage someone to implement proper handling of indexed xxpc chunks.

--
Mats Peterson
http://matsp888.no-ip.org/~mats/
>From 1bf4ce9eee9bce5da86ecffe49cbabd9d59322c7 Mon Sep 17 00:00:00 2001
From: Mats Peterson <matsp...@yahoo.com>
Date: Fri, 18 Mar 2016 11:09:18 +0100
Subject: [PATCH] lavf/avidec: Add blurb regarding the skipping of xxpc entries in the index

---
 libavformat/avidec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 49c97d9..8ce07ab 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;
 
-- 
1.7.10.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to