jpeg2000: Use the matching coding style struct for transform selection
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 1 Jul 2013 08:01:39 +0000 (10:01 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 2 Jul 2013 18:05:48 +0000 (20:05 +0200)
commit95a57d26d8653d21f0dab1aff3558ee944853dbf
tree63214e29de5aa81b8e04c7d17d0f795e272a9940
parentc4604b8792cad3194e6c1dd107735a79037dc77f
jpeg2000: Use the matching coding style struct for transform selection

Fixes a null pointer dereference.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/jpeg2000dec.c