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

Tomas Härdin git at haerdin.se
Tue Oct 4 17:42:31 EEST 2022


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 <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/sgidec.c | 158 ++++++++++++++++++++----------------------
> --
>  1 file changed, 73 insertions(+), 85 deletions(-)

Looks OK

/Tomas



More information about the ffmpeg-devel mailing list