Browse Source

swresample/swresample: Delete unused code

The uch option has been removed

Signed-off-by: renjianguang <renjianguang@xiaomi.com>
renjianguang 2 months ago
parent
commit
9e4ff4732c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      libswresample/swresample.c

+ 0 - 2
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");