summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_opengl.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-23 22:07:39 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-06-23 22:07:39 +0100
commit86ee0f413dad209aa70e11af357f33856340b1f0 (patch)
treedf2f1db0ae4c365c668bf9004bdc938d1511b24a /src/video_out/video_out_opengl.c
parentdb232ce4a4a0ed45822a27a5443a9aa4c9693fb4 (diff)
downloadxine-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/video_out/video_out_opengl.c')
-rw-r--r--src/video_out/video_out_opengl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index 9656f9551..4aeaab325 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -47,7 +47,11 @@
#include <ctype.h>
#include <pthread.h>
-#include <mem.h>
+#ifdef HAVE_FFMPEG_AVUTIL_H
+# include <mem.h>
+#else
+# include <libavutil/mem.h>
+#endif
/* defines for debugging extensions only */
/* #define GL_GLEXT_LEGACY */