From 9e4ff4732c0d389a6b67f47c47b7823a1992cd40 Mon Sep 17 00:00:00 2001 From: renjianguang Date: Fri, 12 Sep 2025 15:37:13 +0800 Subject: [PATCH] swresample/swresample: Delete unused code The uch option has been removed Signed-off-by: renjianguang --- libswresample/swresample.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 998ee7b73a..804f978593 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -70,8 +70,6 @@ int swr_alloc_set_opts2(struct SwrContext **ps, if ((ret = av_opt_set_int(s, "isr", in_sample_rate, 0)) < 0) goto fail; - av_opt_set_int(s, "uch", 0, 0); - return 0; fail: av_log(s, AV_LOG_ERROR, "Failed to set option\n");