Unverified Commit c9d9e67e authored by vfdev's avatar vfdev Committed by GitHub
Browse files

Fixes #2932 (#2937)

- Replaced tuple creation by one acceptable by majority of compilers
parent 1fe1e110
...@@ -334,6 +334,5 @@ std::tuple<torch::Tensor, double> Video::Next() { ...@@ -334,6 +334,5 @@ std::tuple<torch::Tensor, double> Video::Next() {
LOG(ERROR) << "Decoder failed with ERROR_CODE " << res; LOG(ERROR) << "Decoder failed with ERROR_CODE " << res;
} }
std::tuple<torch::Tensor, double> result = {outFrame, frame_pts_s}; return std::make_tuple(outFrame, frame_pts_s);
return result;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment