summaryrefslogtreecommitdiff
path: root/extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch')
-rw-r--r--extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch b/extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch
new file mode 100644
index 000000000..5b9c68613
--- /dev/null
+++ b/extra/ffmpegthumbnailer/ffmpegthumbnailer-2.0.8-memcpy.patch
@@ -0,0 +1,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;
+