avformat/matroskadec: palettized QuickTime video in Matroska
authorMats Peterson <matsp888@yahoo.com>
Sun, 27 Dec 2015 20:28:09 +0000 (21:28 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 28 Dec 2015 01:47:58 +0000 (02:47 +0100)
commit7973603843731b57cea5a62d4b4381722731fd2c
tree5f23bd22dd714fe85ffc0d8f957bd93577d57fa0
parent57631f1851ef71918b68b9a9bdfbeb2974ec1458
avformat/matroskadec: palettized QuickTime video in Matroska

Palettized QuickTime video in Matroska has hitherto not been recognized
whatsoever, and the "palette" used has been completely random.

The patch for matroskadec.c fixes this issue by adding a palette side
data packet in matroska_deliver_packet(), much in the same way as it's
done in mov.c.

Video samples for testing are available at
https://drive.google.com/open?id=0B3_pEBoLs0faWElmM2FnLTZYNlk.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskadec.c