[FFmpeg-devel] [PATCH] CDXL demuxer and decoder
Reimar.Doeffinger at gmx.de
Tue Jan 3 02:07:20 CET 2012
On 2 Jan 2012, at 20:10, Paul B Mahol <onemda at gmail.com> wrote:
> On 12/30/11, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
>>> + memset(c->frame.data, 0, c->frame.linesize * 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?
If it also sets DR1 flag, probably yes (without DR1 you are allowed to make additional assumptions).
More information about the ffmpeg-devel