Skip to content

Commit 4bc406d

Browse files
authored
Resolve torchvision + opencv version issues
Differential Revision: D80843100 Pull Request resolved: #9191
1 parent 7a936da commit 4bc406d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/csrc/io/decoder/audio_sampler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bool AudioSampler::init(const SamplerParameters& params) {
5454
AVChannelLayout channel_in;
5555
av_channel_layout_default(&channel_out, params.out.audio.channels);
5656
av_channel_layout_default(&channel_in, params.in.audio.channels);
57-
int ret = swr_alloc_set_opts2(
57+
swr_alloc_set_opts2(
5858
&swrContext_,
5959
&channel_out,
6060
(AVSampleFormat)params.out.audio.format,

0 commit comments

Comments
 (0)