ffmpeg/libavcodec
Andreas Cadhalpun 1047c286fa libopenjpegenc: add NULL check for img before accessing it
If opj_image_create fails to allocate an image it returns NULL, which
causes a segmentation fault at 'img->x0 = 0'.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 1577526b47439f33a999339efdec5d624b70e1da)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-03 03:22:17 +02:00
..
2015-03-29 03:34:22 +02:00
2015-06-01 23:25:21 +02:00
2015-06-01 23:25:21 +02:00
2015-03-29 03:34:23 +02:00
2014-12-20 10:51:40 +01:00
2014-12-20 10:51:41 +01:00
2015-01-13 00:16:40 +01:00
2015-02-13 20:48:09 +01:00
2015-03-29 03:34:21 +02:00
2015-06-01 23:25:20 +02:00