Re: [FFmpeg-devel] [PATCH 05/25] avcodec/magicyuv: Check early for invalid slices

2020-09-26 Thread Paul B Mahol
On Sat, Sep 26, 2020 at 12:27:44PM +0200, Andreas Rheinhardt wrote: > Every plane of each slice has to contain at least two bytes for flags > and the type of prediction used. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/magicyuv.c | 2 ++ > 1 file changed, 2 insertions(+) lgtm > >

[FFmpeg-devel] [PATCH 05/25] avcodec/magicyuv: Check early for invalid slices

2020-09-26 Thread Andreas Rheinhardt
Every plane of each slice has to contain at least two bytes for flags and the type of prediction used. Signed-off-by: Andreas Rheinhardt --- libavcodec/magicyuv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c index d2f6a9b01e..6c29efc9f4 1006