[FFmpeg-devel] [PATCH] CDXL demuxer and decoder

Paul B Mahol onemda at gmail.com
Mon Jan 2 20:10:44 CET 2012


On 12/30/11, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
[...]
>> +    memset(c->frame.data[0], 0, c->frame.linesize[0] * avctx->height);
>
> You should not be writing into the area between width and
> linesize, it might not be allowed to write there.
> Also, linesize can be negative.

At least BMP decoder does same, so it needs fixing too?


More information about the ffmpeg-devel mailing list