Take into account real number of colours when reading BMP palette.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 24 Sep 2009 05:24:46 +0000 (05:24 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 24 Sep 2009 05:24:46 +0000 (05:24 +0000)
commit22da339f5ddf4a5880050e9dac60ef7c4592e443
treeed0b7d5f77051f1993d81a89ffe10686be36fb79
parent20c68378807ff0b24897f999445415fae10c430b
Take into account real number of colours when reading BMP palette.
This fixes issue 1408

Originally committed as revision 20007 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/bmp.c