libopenjpegenc: use pix_fmt descriptor to get numcomps
authorPaul B Mahol <onemda@gmail.com>
Sun, 25 Mar 2012 23:33:50 +0000 (23:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Mar 2012 02:58:44 +0000 (04:58 +0200)
commit06b0c6a6559e8f179faaba9641bcb2d68edc7160
tree0490a8f73cc0b7c0dc88d644cde047f19348a3a8
parent140c54ea0b1a6b4eb2d8515624a616565763e26a
libopenjpegenc: use pix_fmt descriptor to get numcomps

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libopenjpegenc.c