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 8f20a8f commit 599556dCopy full SHA for 599556d
src/torchcodec/_core/Encoder.cpp
@@ -45,7 +45,6 @@ void validateSampleRate(const AVCodec& avCodec, int sampleRate) {
45
&numSampleRates);
46
if (ret < 0 || supportedSampleRates == nullptr) {
47
TORCH_CHECK(false, "Couldn't get supported sample rates from encoder.");
48
- return;
49
}
50
#else
51
supportedSampleRates = avCodec.supported_samplerates;
0 commit comments