]> git.sesse.net Git - nageru/blobdiff - futatabi/export.cpp
Fix some Clang 7 warnings.
[nageru] / futatabi / export.cpp
index 50fc950bbd2fa8ead59a365c28375b9be66ac278..d513cf0dacf5a6f6f74ff9cbe14ffde737cee615 100644 (file)
@@ -237,7 +237,7 @@ void export_interpolated_clip(const string &filename, const vector<Clip> &clips)
        player.set_done_callback([&done_promise] {
                done_promise.set_value();
        });
-       player.set_progress_callback([&current_value, &clips, total_length](const std::map<uint64_t, double> &player_progress, double time_remaining) {
+       player.set_progress_callback([&current_value, total_length](const std::map<uint64_t, double> &player_progress, double time_remaining) {
                current_value = 1.0 - time_remaining / total_length;
        });
        player.play(clips_with_id);