google-code-export / ffmpegthumbnailer

Automatically exported from code.google.com/p/ffmpegthumbnailer
GNU General Public License v2.0
1 stars 1 forks source link

2.0.8 fails to compile against libpng 1.6.1 because of missing #include <cstring> #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
#include <cstring> was implicitly pulled in by older libpngs, but now with 
libpng 1.6.1 installed, the build fails like this:

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

the attached patch fixes things :)

Original issue reported on code.google.com by ssuomine...@gmail.com on 5 Apr 2013 at 6:16

Attachments:

GoogleCodeExporter commented 9 years ago
This is already fixed in subversion

Original comment by dirk.vdb on 7 Apr 2013 at 8:27