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.
2 parents d160af1 + 4bc406d commit 3bc75c0Copy full SHA for 3bc75c0
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