{"shas":[["23f40a07888018ff8a5ae8e74e15b6bae57bcae0","7a1426a330dae8d05085adfbccf7c5ad3b358d98@gmail.com","read AVI palette from the end of extradata\n\nOfficial AVI specification says that stream header in case of video contains\nBITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently\nlavf AVI demuxer thinks otherwise which produces garbage on codecs that have\nboth palette and extradata (luckily, there are not so many such codecs).\n\nAn example of such file is:\nhttp://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi\n(IIRC, MSS1 or MSS2 also had such situation but they are still not supported\nby lavc).\n\nAs a side note, passing palette in extradata as it's been done previously is\nnot quite correct since proper _extra_ data is surplus bytes in\nBITMAPINFOHEADER, not including palette.\n\nSigned-off-by: Ronald S. Bultje <rsbultje@gmail.com>","Kostya Shishkov"]],"repo":"libav/libav","actor":"git-libav-org","ref":"refs/heads/master","size":1,"head":"23f40a07888018ff8a5ae8e74e15b6bae57bcae0","actor_gravatar":"fea0a297c6b63e220a13dd13d2cd019e","push_id":29763851}