[FFmpeg-devel] [PATCH] avfilter/vf_lenscorrection: add assert to ensure there are not more planes than the correction array is large

2014-08-21 Thread Michael Niedermayer
Exceeding the count would write out of array, and should not occur with any current pixel format Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavfilter/vf_lenscorrection.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_lenscorrection.c

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lenscorrection: add assert to ensure there are not more planes than the correction array is large

2014-08-21 Thread Daniel Oberhoff
--- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 12:34 PM, Michael Niedermayer michae...@gmx.at wrote: Exceeding the count would write out of array, and should not occur with any current pixel format Signed-off-by: Michael Niedermayer michae...@gmx.at ---

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lenscorrection: add assert to ensure there are not more planes than the correction array is large

2014-08-21 Thread Michael Niedermayer
On Thu, Aug 21, 2014 at 12:57:08PM +0200, Daniel Oberhoff wrote: --- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 12:34 PM, Michael Niedermayer michae...@gmx.at wrote: Exceeding the count would write out of array, and should not occur with any current pixel

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lenscorrection: add assert to ensure there are not more planes than the correction array is large

2014-08-21 Thread Daniel Oberhoff
--- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 1:52 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Aug 21, 2014 at 12:57:08PM +0200, Daniel Oberhoff wrote: --- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 12:34 PM, Michael

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lenscorrection: add assert to ensure there are not more planes than the correction array is large

2014-08-21 Thread Daniel Oberhoff
--- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 1:53 PM, Daniel Oberhoff daniel.oberh...@gmail.com wrote: --- Daniel Oberhoff daniel.oberh...@gmail.com On Aug 21, 2014, at 1:52 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Aug 21, 2014 at