diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 1efb563d8f113736094b67d0bf07cd5727162d65..e4c1ff9ca2ccfc5c4bb8eaa5711ddbbf66e922eb 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -105,6 +105,7 @@ struct SwrContext *swr_alloc_set_opts(struct SwrContext *s, av_opt_set_int(s, "tsf", AV_SAMPLE_FMT_S16, 0); av_opt_set_int(s, "ich", av_get_channel_layout_nb_channels(s-> in_ch_layout), 0); av_opt_set_int(s, "och", av_get_channel_layout_nb_channels(s->out_ch_layout), 0); + av_opt_set_int(s, "uch", 0, 0); return s; }