On 01.06.2015 15:15, Michael Niedermayer wrote:
> On Mon, Jun 01, 2015 at 12:57:25AM +0200, Andreas Cadhalpun wrote:
>> If opj_image_create fails to allocate an image it returns NULL, which
>> causes a segmentation fault at 'img->x0 = 0'.
>>
>> Signed-off-by: Andreas Cadhalpun
>> ---
>> libavcode
On Mon, Jun 01, 2015 at 12:57:25AM +0200, Andreas Cadhalpun wrote:
> If opj_image_create fails to allocate an image it returns NULL, which
> causes a segmentation fault at 'img->x0 = 0'.
>
> Signed-off-by: Andreas Cadhalpun
> ---
> libavcodec/libopenjpegenc.c | 3 +++
> 1 file changed, 3 inserti
If opj_image_create fails to allocate an image it returns NULL, which
causes a segmentation fault at 'img->x0 = 0'.
Signed-off-by: Andreas Cadhalpun
---
libavcodec/libopenjpegenc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c
in