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 afd5aba commit 7d27c15Copy full SHA for 7d27c15
src/torchcodec/_core/SingleStreamDecoder.cpp
@@ -1296,7 +1296,7 @@ FrameOutput SingleStreamDecoder::convertAVFrameToFrameOutput(
1296
getDuration(avFrame),
1297
formatContext_->streams[activeStreamIndex_]->time_base);
1298
deviceInterface_->convertAVFrameToFrameOutput(
1299
- avFrame, frameOutput, preAllocatedOutputTensor);
+ avFrame, frameOutput, std::move(preAllocatedOutputTensor));
1300
return frameOutput;
1301
}
1302
0 commit comments