This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 85d2cfd52e679cb4e0e240456f74e1955cf91d12 Author: Ayoub Nabil Boubagrat <[email protected]> AuthorDate: Thu Aug 13 20:23:07 2026 +0200 Commit: James Almer <[email protected]> CommitDate: Fri Aug 14 19:08:29 2026 +0000 libswresample/tests/rematrix: uninit channel layouts release parsed channel layouts before exiting. Signed-off-by: Ayoub Nabil Boubagrat <[email protected]> --- libswresample/tests/rematrix.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libswresample/tests/rematrix.c b/libswresample/tests/rematrix.c index eaa78784c6..464da7638b 100644 --- a/libswresample/tests/rematrix.c +++ b/libswresample/tests/rematrix.c @@ -82,23 +82,30 @@ int main(int argc, char **argv) if (ret < 0) { if (ret == AVERROR(EINVAL)) fprintf(stderr, "Invalid input layout %s\n", in); - return 1; + ret = 1; + goto end; } ret = av_channel_layout_from_string(&out_layout, out); if (ret < 0) { if (ret == AVERROR(EINVAL)) fprintf(stderr, "Invalid output layout %s\n", out); - return 1; + ret = 1; + goto end; } if (in_layout.nb_channels > MATRIX_STRIDE || out_layout.nb_channels > MATRIX_STRIDE) { fprintf(stderr, "channel layout exceeds matrix capacity\n"); - return 1; + ret = 1; + goto end; } ret = print_matrix(&in_layout, &out_layout); +end: + av_channel_layout_uninit(&in_layout); + av_channel_layout_uninit(&out_layout); + return ret; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
