Re: [FFmpeg-devel] Patch for vf_fillborders.c – Bug?

2019-03-08 Thread Ulf Zibis
Am 08.03.19 um 00:53 schrieb Michael Niedermayer: > On Thu, Mar 07, 2019 at 12:52:32AM +0100, Ulf Zibis wrote: >> Hi, >> >> I think there is a bug in vf_fillborders.c 16 bit routines. >> >> When using memset or memcopy, I think, correct linesize instead >> s->planewidth[p] should be used. >> When

Re: [FFmpeg-devel] Patch for vf_fillborders.c – Bug?

2019-03-07 Thread Michael Niedermayer
On Thu, Mar 07, 2019 at 12:52:32AM +0100, Ulf Zibis wrote: > Hi, > > I think there is a bug in vf_fillborders.c 16 bit routines. > > When using memset or memcopy, I think, correct linesize instead > s->planewidth[p] should be used. > When using arrray syntax, I think, correct s->planewidth[p]

[FFmpeg-devel] Patch for vf_fillborders.c – Bug?

2019-03-06 Thread Ulf Zibis
Hi, I think there is a bug in vf_fillborders.c 16 bit routines. When using memset or memcopy, I think, correct linesize instead s->planewidth[p] should be used. When using arrray syntax, I think, correct s->planewidth[p] instead linesize should be used. See my proposed patch. -Ulf >From