Re: [FFmpeg-devel] [PATCH 4/7] avcodec/dvbsubdec: Support computing clut only once

2021-03-28 Thread Michael Niedermayer
On Thu, Mar 04, 2021 at 07:59:34PM +0100, Marton Balint wrote: > > > On Thu, 4 Mar 2021, Michael Niedermayer wrote: > > > This avoids crafted files from consuming excessive resources recomputing > > the clut after each pixel change > > > > Signed-off-by: Michael Niedermayer > > --- > > libavc

Re: [FFmpeg-devel] [PATCH 4/7] avcodec/dvbsubdec: Support computing clut only once

2021-03-04 Thread Marton Balint
On Thu, 4 Mar 2021, Michael Niedermayer wrote: This avoids crafted files from consuming excessive resources recomputing the clut after each pixel change Signed-off-by: Michael Niedermayer --- libavcodec/dvbsubdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) PLease update do

[FFmpeg-devel] [PATCH 4/7] avcodec/dvbsubdec: Support computing clut only once

2021-03-04 Thread Michael Niedermayer
This avoids crafted files from consuming excessive resources recomputing the clut after each pixel change Signed-off-by: Michael Niedermayer --- libavcodec/dvbsubdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index