]> git.sesse.net Git - ffmpeg/commit
libopenjpegdec: check existence of image component data
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 30 May 2015 14:18:48 +0000 (16:18 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 30 May 2015 18:58:55 +0000 (20:58 +0200)
commit3ef5702926c495232ffe685303ba8661bdff1149
treedaf3e1d274e818c1bb9600c20f935f2b89d27de5
parent161d0ac7219d75d84d8b515cd60109863d309394
libopenjpegdec: check existence of image component data

libopenjpeg can return images with components without data.

This fixes segmentation faults.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/libopenjpegdec.c