summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrenjianguang <[email protected]>2025-09-12 15:37:13 +0800
committerZhao Zhili <[email protected]>2025-09-16 11:27:39 +0000
commit9e4ff4732c0d389a6b67f47c47b7823a1992cd40 (patch)
tree929dc8309d15018c46c55bddc21ba1c266fe2ccf
parent07ea3b1787b88481823c850e92c8828fc270b25b (diff)
swresample/swresample: Delete unused code
The uch option has been removed Signed-off-by: renjianguang <[email protected]>
-rw-r--r--libswresample/swresample.c2
1 files changed, 0 insertions, 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");