Re: [FFmpeg-devel] [PATCH 3/7] avcodec/sgidec: Avoid redundant private context

2022-10-04 Thread Tomas Härdin
fre 2022-09-30 klockan 19:05 +0200 skrev Andreas Rheinhardt: > SGI is intra-frame only; the decoder therefore does not > maintain any state between frames, so remove > the private context. > > Also rename depth to nb_components. > > Signed-off-by: Andreas Rheinhardt > --- >  libavcodec/sgidec.c

[FFmpeg-devel] [PATCH 3/7] avcodec/sgidec: Avoid redundant private context

2022-09-30 Thread Andreas Rheinhardt
SGI is intra-frame only; the decoder therefore does not maintain any state between frames, so remove the private context. Also rename depth to nb_components. Signed-off-by: Andreas Rheinhardt --- libavcodec/sgidec.c | 158 1 file changed, 73 insertio