File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ VideoDecoder::DecodedOutput VideoDecoder::getFrameAtIndex(
10321032VideoDecoder::DecodedOutput VideoDecoder::getFrameAtIndexInternal (
10331033 int streamIndex,
10341034 int64_t frameIndex,
1035- std::optional< torch::Tensor> preAllocatedOutputTensor) {
1035+ torch::Tensor preAllocatedOutputTensor) {
10361036 validateUserProvidedStreamIndex (streamIndex);
10371037 validateScannedAllStreams (" getFrameAtIndex" );
10381038
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ class VideoDecoder {
232232 DecodedOutput getFrameAtIndexInternal (
233233 int streamIndex,
234234 int64_t frameIndex,
235- std::optional< torch::Tensor> preAllocatedOutputTensor = std:: nullopt );
235+ torch::Tensor preAllocatedOutputTensor);
236236
237237 struct BatchDecodedOutput {
238238 torch::Tensor frames;
You can’t perform that action at this time.
0 commit comments