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 0e54f3e commit 1765f09Copy full SHA for 1765f09
src/torchcodec/_core/SingleStreamDecoder.cpp
@@ -852,7 +852,7 @@ AudioFramesOutput SingleStreamDecoder::getFramesPlayedInRangeAudio(
852
853
if (stopSecondsOptional.has_value() && startSeconds == *stopSecondsOptional) {
854
// For consistency with video
855
- auto numChannels = getNumChannels(streamInfo.codecContext);
+ int numChannels = getNumChannels(streamInfo.codecContext);
856
return AudioFramesOutput{torch::empty({numChannels, 0}), 0.0};
857
}
858
0 commit comments