summaryrefslogtreecommitdiff
path: root/ext/mpeg2enc
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-03-21 14:50:41 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-03-21 14:50:41 +0000
commit5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44 (patch)
tree257c73c53447c039fcec1403cc6127c33823c211 /ext/mpeg2enc
parent29d918352b94957160a9be04dac076f2aca2c5d7 (diff)
downloadgstreamer-plugins-bad-5f1bb9fd9cb04e9c54ee9f80600a3458e5854d44.tar.gz
configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4....
Original commit message from CVS: * configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4.3, resulting in a build failure because of -Werror. * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mplex/gstmplex.cc: Include <string.h> for memcpy and friends to fix the build with gcc 4.3. * tests/check/Makefile.am: Remove trailing backslash.
Diffstat (limited to 'ext/mpeg2enc')
-rw-r--r--ext/mpeg2enc/gstmpeg2encpicturereader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mpeg2enc/gstmpeg2encpicturereader.cc b/ext/mpeg2enc/gstmpeg2encpicturereader.cc
index 5bd09dd7f..77e38440a 100644
--- a/ext/mpeg2enc/gstmpeg2encpicturereader.cc
+++ b/ext/mpeg2enc/gstmpeg2encpicturereader.cc
@@ -24,6 +24,7 @@
#endif
#include <encoderparams.hh>
+#include <string.h>
#include "gstmpeg2enc.hh"
#include "gstmpeg2encpicturereader.hh"