Re: [FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-23 Thread Andreas Cadhalpun
On 23.11.2016 14:05, Petri Hintukainen wrote: > ti, 2016-11-22 kello 23:21 +0100, Andreas Cadhalpun kirjoitti: >> On 09.11.2016 23:27, Andreas Cadhalpun wrote: >>> >>> Rects with positive w/h/linesize but no data are invalid. >>> >>> Signed-off-by: Andreas Cadhalpun >>> --- >>> libavcodec/pgssubd

Re: [FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-23 Thread Andreas Cadhalpun
On 23.11.2016 14:48, wm4 wrote: > On Wed, 9 Nov 2016 23:27:04 +0100 > Andreas Cadhalpun wrote: > >> Rects with positive w/h/linesize but no data are invalid. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/pgssubdec.c | 9 + >> 1 file changed, 5 insertions(+), 4 deletions(-)

Re: [FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-23 Thread wm4
On Wed, 9 Nov 2016 23:27:04 +0100 Andreas Cadhalpun wrote: > Rects with positive w/h/linesize but no data are invalid. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/pgssubdec.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/pgssubdec.c b

Re: [FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-23 Thread Petri Hintukainen
ti, 2016-11-22 kello 23:21 +0100, Andreas Cadhalpun kirjoitti: > On 09.11.2016 23:27, Andreas Cadhalpun wrote: > > > > Rects with positive w/h/linesize but no data are invalid. > > > > Signed-off-by: Andreas Cadhalpun > > --- > >  libavcodec/pgssubdec.c | 9 + > >  1 file changed, 5 inser

Re: [FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-22 Thread Andreas Cadhalpun
On 09.11.2016 23:27, Andreas Cadhalpun wrote: > Rects with positive w/h/linesize but no data are invalid. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/pgssubdec.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgs

[FFmpeg-devel] [PATCH] pgssubdec: only set w/h/linesize when allocating data

2016-11-09 Thread Andreas Cadhalpun
Rects with positive w/h/linesize but no data are invalid. Signed-off-by: Andreas Cadhalpun --- libavcodec/pgssubdec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index cef477d..b50b37b 100644 --- a/libavcodec/pgssub