When BitsPerSample tag is not present in TIFF, that means file is
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 30 Sep 2009 05:49:18 +0000 (05:49 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 30 Sep 2009 05:49:18 +0000 (05:49 +0000)
commit53f9f9c91b1aecd5c5ce375bcc07806c33ff74d5
tree297dc884a7befccef903127ad6a10d96077caadb
parent2ed4439658971fd238c02102bd24906aad4caf6b
When BitsPerSample tag is not present in TIFF, that means file is
monochrome, so initialize picture before decoding.
This fixes decoding monochrome files produced by lavc TIFF encoder.

Originally committed as revision 20091 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/tiff.c