[FFmpeg-devel] [libav-devel] [PATCH] libopenjpegdec: check existence of image component data
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sat May 30 16:50:42 CEST 2015
On 30.05.2015 16:41, Luca Barbato wrote:
> On 30/05/15 16:39, Andreas Cadhalpun wrote:
>> libopenjpeg can return images with components without data.
>>
>> This fixes segmentation faults.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>> libavcodec/libopenjpegdec.c | 9 +++++++++
>> 1 file changed, 9 insertions(+)
>>
>
> Do you happen to know why it does do that?
It encounters a problem, but only warns about it and returns the image
anyway. The warning is not sent to stdout with libavcodec, but can be seen
with j2k_dump:
[WARNING] 0000006a: expected a marker instead of 0
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list