We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a936da commit 4bc406dCopy full SHA for 4bc406d
torchvision/csrc/io/decoder/audio_sampler.cpp
@@ -54,7 +54,7 @@ bool AudioSampler::init(const SamplerParameters& params) {
54
AVChannelLayout channel_in;
55
av_channel_layout_default(&channel_out, params.out.audio.channels);
56
av_channel_layout_default(&channel_in, params.in.audio.channels);
57
- int ret = swr_alloc_set_opts2(
+ swr_alloc_set_opts2(
58
&swrContext_,
59
&channel_out,
60
(AVSampleFormat)params.out.audio.format,
0 commit comments