]> git.sesse.net Git - nageru/blobdiff - decklink_output.cpp
Fix a pessimizing move (Clang warning).
[nageru] / decklink_output.cpp
index 544e2edd333017d080b989a859004ba0f04bd6e4..a19d0a5e2e44440c9f79ad07f860ec629e194c37 100644 (file)
@@ -262,7 +262,7 @@ void DeckLinkOutput::send_frame(GLuint y_tex, GLuint cbcr_tex, YCbCrLumaCoeffici
                last_frame_had_mode_mismatch = false;
        }
 
-       unique_ptr<Frame> frame = move(get_frame());
+       unique_ptr<Frame> frame = get_frame();
        if (global_flags.ten_bit_output) {
                chroma_subsampler->create_v210(y_tex, cbcr_tex, width, height, frame->uyvy_tex);
        } else {