lavf/avidec: Add blurb regarding the skipping of xxpc entries in the index

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Mats Peterson 2016-03-18 11:09:18 +01:00 committed by Michael Niedermayer
parent f4b30beac0
commit d8a1633ee4

View File

@ -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;