avcodec/smvjpegdec: assert that the pixel format that has been set by our decoder...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 22:27:21 +0000 (00:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Jun 2015 22:51:29 +0000 (00:51 +0200)
commitdf037fe107ccfae4b26ee0e46b638b052f6e49f8
tree15c9f5388a7f95c12fe505a39da932ab779c7372
parente0db41316a94d85c1d6ab7ebeaf1f4b5e0f3c76a
avcodec/smvjpegdec: assert that the pixel format that has been set by our decoder is valid

If we do check av_pix_fmt_desc_get() then we should fail and
not continue with an invalid pix_fmt

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