avcodec/tiff: do not use photometric to detect pix_fmt
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Aug 2014 18:57:42 +0000 (20:57 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Aug 2014 19:09:07 +0000 (21:09 +0200)
commit6ea69a8ffaeabf1a8bfd0c7db1019ca5ac082c99
treea5a2421b2204df8dc11d19b35f001799fc706369
parent66d02d3ca626664b7cdaf9b21a44b130959c6c24
avcodec/tiff: do not use photometric to detect pix_fmt

They should match but they do not always
Fixes assertion failure
no testcase with unmodified source available

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/tiff.c