Michael Kostylev <[email protected]> added the comment:

If align == 0 then (linesises[0]=FFALIGN(linesizes[0], align)) == 0, 
av_image_fill_pointers() returns 0 as well and that leads to malloc(0 + 
0).

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2412>
________________________________________________

Reply via email to