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 98521c7 commit 8db65b1Copy full SHA for 8db65b1
torchvision/csrc/cpu/video/Video.cpp
@@ -334,6 +334,5 @@ std::tuple<torch::Tensor, double> Video::Next() {
334
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res;
335
}
336
337
- std::tuple<torch::Tensor, double> result = {outFrame, frame_pts_s};
338
- return result;
+ return std::make_tuple(outFrame, frame_pts_s);
339
0 commit comments