Skip to content

Commit 599556d

Browse files
author
Daniel Flores
committed
remove unused return
1 parent 8f20a8f commit 599556d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/torchcodec/_core/Encoder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void validateSampleRate(const AVCodec& avCodec, int sampleRate) {
4545
&numSampleRates);
4646
if (ret < 0 || supportedSampleRates == nullptr) {
4747
TORCH_CHECK(false, "Couldn't get supported sample rates from encoder.");
48-
return;
4948
}
5049
#else
5150
supportedSampleRates = avCodec.supported_samplerates;

0 commit comments

Comments
 (0)