You've already forked FFmpeg
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:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user