This prevents crashes during decoding grayscale Bink files like samples from Impossible Creatures game demo. Originally committed as revision 21961 to svn://svn.ffmpeg.org/ffmpeg/trunk
This fixes issue 1764. Originally committed as revision 21959 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 21937 to svn://svn.ffmpeg.org/ffmpeg/trunk