avcodec/jpeg2000dec: Assert that pixel format descriptor is not NULL
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 12:33:53 +0000 (14:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 12:33:53 +0000 (14:33 +0200)
commit3dea13e710ce525375c5458fe16d6df80bd02517
treef85b0d7759dc46bc794706420476cbff2d29c715
parentd59a033a69c4856c664b546a7e2905f733dfb544
avcodec/jpeg2000dec: Assert that pixel format descriptor is not NULL

We only look up pixel formats from a fixed list so none should ever
fail to be found

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