[FFmpeg-devel] [PATCH] lavfi/af_channelmap: fix channelmap_init error handling

Anton Khirnov anton at khirnov.net
Fri Sep 13 13:25:12 EEST 2024


Quoting Marvin Scholz (2024-09-11 21:07:29)
> The channelmap_init function was returning success even on error after
> 7dc81d33c241b9e176ea85956e8317f29bc9e3c0 due to shadowing of the
> outer ret variable.
> 
> Fixes CID1619297 Logically dead code
> ---
>  libavfilter/af_channelmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Looks good.

Thanks,

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list