1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

swresample/swresample: Delete unused code

The uch option has been removed

Signed-off-by: renjianguang <renjianguang@xiaomi.com>
This commit is contained in:
renjianguang
2025-09-12 15:37:13 +08:00
committed by Zhao Zhili
parent 07ea3b1787
commit 9e4ff4732c

View File

@@ -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) if ((ret = av_opt_set_int(s, "isr", in_sample_rate, 0)) < 0)
goto fail; goto fail;
av_opt_set_int(s, "uch", 0, 0);
return 0; return 0;
fail: fail:
av_log(s, AV_LOG_ERROR, "Failed to set option\n"); av_log(s, AV_LOG_ERROR, "Failed to set option\n");