summaryrefslogtreecommitdiff
path: root/extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch
blob: 5b9c68613e74d635d3b18ef148d356b53b9d54a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
libffmpegthumbnailer/pngwriter.cpp: In function 'void ffmpegthumbnailer::writeDataCallback(png_structp, png_bytep, png_size_t)':
libffmpegthumbnailer/pngwriter.cpp:111:52: error: 'memcpy' was not declared in this scope

--- libffmpegthumbnailer/pngwriter.cpp
+++ libffmpegthumbnailer/pngwriter.cpp
@@ -17,6 +17,7 @@
 #include "pngwriter.h"
 #include <stdexcept>
 #include <cassert>
+#include <cstring>
 
 using namespace std;