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
..
2014-06-02 20:18:44 +02:00
2015-03-29 03:34:22 +02:00
2014-06-15 12:11:46 +02:00
2014-06-15 12:11:46 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-18 02:51:34 +02:00
2014-10-04 23:52:28 +02:00
2014-09-06 20:59:20 +02:00
2014-09-06 20:59:20 +02:00
2015-06-01 23:25:21 +02:00
2014-08-24 11:05:42 +00:00
2015-06-01 23:25:21 +02:00
2014-06-03 10:58:19 -08:00
2014-08-24 11:05:42 +00:00
2014-08-14 13:35:24 +02:00
2014-08-21 23:02:48 +02:00
2014-11-01 13:28:14 +01:00
2015-03-29 03:34:23 +02:00
2014-08-24 11:05:42 +00:00
2014-08-25 23:12:30 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-12-20 10:51:40 +01:00
2014-05-31 13:41:10 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-06-05 20:31:59 +02:00
2014-06-05 20:31:59 +02:00
2014-08-09 23:20:31 +02:00
2014-08-05 01:54:47 +02:00
2014-12-20 10:51:41 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-19 13:35:44 +00:00
2014-08-15 22:47:45 +02:00
2015-01-13 00:16:40 +01:00
2015-02-13 20:48:09 +01:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-11-01 13:28:14 +01:00
2014-08-31 10:25:36 +02:00
2014-08-29 18:57:25 +02:00
2014-07-18 13:31:19 +02:00
2014-09-09 21:02:37 +02:00
2015-03-29 03:34:21 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-10-04 23:52:29 +02:00
2014-07-12 22:33:27 +02:00
2014-06-07 17:44:23 +02:00
2014-06-07 17:44:14 +02:00
2014-06-07 17:44:14 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-06-18 03:13:37 +02:00
2014-06-18 03:13:37 +02:00
2015-06-01 23:25:20 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00