#include "bmusb/bmusb.h"
#include "decklink_util.h"
#include "flags.h"
-#include "memcpy_interleaved.h"
+#include "shared/memcpy_interleaved.h"
#include "v210_converter.h"
#define FRAME_SIZE (8 << 20) // 8 MB.
} else {
memcpy(current_video_frame.data, frame_bytes, num_bytes);
}
+ if (current_video_frame.data_copy != nullptr) {
+ memcpy(current_video_frame.data_copy, frame_bytes, num_bytes);
+ }
current_video_frame.len += num_bytes;
video_format.width = width;