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

2024-09-13 Thread Anton Khirnov
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 fi

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

2024-09-11 Thread Marvin Scholz
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(-) diff --git a/liba