Fix pix_fmt detection in the native jpeg2000 decoder.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 18 Jul 2013 08:56:15 +0000 (10:56 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 28 Jul 2013 02:07:20 +0000 (04:07 +0200)
commit09b33f9a82510b26439b2d86a6f90bdec2d68797
treee9bf609338c2696025d25c929d3dcd958cccc305
parentfa6b6dad3d78425f10c04faa330cef41f01e51b6
Fix pix_fmt detection in the native jpeg2000 decoder.

Based on b7a928b by Michael Bradshaw.
Fixes ticket #2683.

Reviewed-by: Nicolas Bertrand
(cherry picked from commit b39a6bbe7f43710d8e7163757c5aeef596878712)
libavcodec/jpeg2000dec.c