[x265] [PATCH 1 of 2] NALwrite: Include forgotten header

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 13 18:05:34 CEST 2013


# HG changeset patch
# User Derek Buitenhuis <derek.buitenhuis at gmail.com>
# Date 1379088194 -3600
# Node ID 7ae18adeedcc5d59331567233489f25d97dc2ccf
# Parent  747b32ce47816d0f1d0dda84c77d8fe712bf216e
NALwrite: Include forgotten header

Fixes build on Linux, where memcpy is not global.

diff -r 747b32ce4781 -r 7ae18adeedcc source/Lib/TLibEncoder/NALwrite.cpp
--- a/source/Lib/TLibEncoder/NALwrite.cpp	Fri Sep 13 17:02:29 2013 +0100
+++ b/source/Lib/TLibEncoder/NALwrite.cpp	Fri Sep 13 17:03:14 2013 +0100
@@ -38,6 +38,7 @@
 #include <vector>
 #include <algorithm>
 #include <ostream>
+#include <cstring>
 
 using namespace std;
 


More information about the x265-devel mailing list