[FFmpeg-devel] [PATCH] vf_colorspace: Forbid odd dimensions

2016-11-17 Thread Vittorio Giovara
This prevents writing past bounds. Signed-off-by: Vittorio Giovara --- Any opinions about this? Cheers, Vittorio (please cc) doc/filters.texi| 1 + libavfilter/vf_colorspace.c | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] vf_colorspace: Forbid odd dimensions

2016-11-17 Thread Vittorio Giovara
On Thu, Nov 17, 2016 at 3:58 PM, Ronald S. Bultje wrote: > Hi, > > On Thu, Nov 17, 2016 at 3:53 PM, Vittorio Giovara > wrote: >> >> This prevents writing past bounds. >> >> Signed-off-by: Vittorio Giovara >> --- >> Any

Re: [FFmpeg-devel] [PATCH] vf_colorspace: Forbid odd dimensions

2016-11-17 Thread Ronald S. Bultje
Hi, On Thu, Nov 17, 2016 at 3:53 PM, Vittorio Giovara < vittorio.giov...@gmail.com> wrote: > This prevents writing past bounds. > > Signed-off-by: Vittorio Giovara > --- > Any opinions about this? Hm... I agree right now it's probably broken, but I'd argue that we