[FFmpeg-devel] [PATCH 2/4] avcodec/mjpegdec: Remove redundant initialization

Paul B Mahol onemda at gmail.com
Thu Oct 8 23:04:17 EEST 2020


On Thu, Oct 08, 2020 at 09:18:40PM +0200, Andreas Rheinhardt wrote:
> Now that the correct number of codes is used, it is no longer necessary
> to initialize the lengths of the codes at all any more as the length of
> the actually used codes is set later anyway.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/mjpegdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

lgtm


More information about the ffmpeg-devel mailing list