diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-06-23 22:07:39 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-06-23 22:07:39 +0100 |
commit | 86ee0f413dad209aa70e11af357f33856340b1f0 (patch) | |
tree | df2f1db0ae4c365c668bf9004bdc938d1511b24a /src/post | |
parent | db232ce4a4a0ed45822a27a5443a9aa4c9693fb4 (diff) | |
download | xine-lib-86ee0f413dad209aa70e11af357f33856340b1f0.tar.gz xine-lib-86ee0f413dad209aa70e11af357f33856340b1f0.tar.bz2 |
Allow for <libavutil/base64.h> etc.
Fixes build failures with some ffmpeg dev packages, e.g. from debian-multimedia.
Diffstat (limited to 'src/post')
-rw-r--r-- | src/post/planar/noise.c | 6 | ||||
-rw-r--r-- | src/post/planar/pp.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 8bceb2f74..5c353522f 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -27,7 +27,11 @@ #include <math.h> #include <pthread.h> -#include <mem.h> +#ifdef HAVE_FFMPEG_AVUTIL_H +# include <mem.h> +#else +# include <libavutil/mem.h> +#endif #ifdef ARCH_X86_64 # define REG_a "rax" diff --git a/src/post/planar/pp.c b/src/post/planar/pp.c index 25447683a..01dd89c40 100644 --- a/src/post/planar/pp.c +++ b/src/post/planar/pp.c @@ -29,7 +29,11 @@ #include <xine/xine_internal.h> #include <xine/post.h> #include <xine/xineutils.h> -#include <postprocess.h> +#ifdef HAVE_FFMPEG_AVUTIL_H +# include <postprocess.h> +#else +# include <libpostproc/postprocess.h> +#endif #include <pthread.h> #define PP_STRING_SIZE 256 /* size of pp mode string (including all options) */ |