[FFmpeg-cvslog] lavd/xv.c: Include XShm.h before Xvlib.h.
Carl Eugen Hoyos
git at videolan.org
Wed Oct 9 20:08:36 CEST 2013
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Oct 9 15:32:21 2013 +0200| [3aa576513b3173abcd3c5094f90c2a4400647cb9] | committer: Carl Eugen Hoyos
lavd/xv.c: Include XShm.h before Xvlib.h.
This may fix compilation with libxv 1.0.4.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3aa576513b3173abcd3c5094f90c2a4400647cb9
---
libavdevice/xv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/xv.c b/libavdevice/xv.c
index 670c4de..65f2f72 100644
--- a/libavdevice/xv.c
+++ b/libavdevice/xv.c
@@ -29,8 +29,8 @@
#include <X11/Xlib.h>
#include <X11/extensions/Xv.h>
-#include <X11/extensions/Xvlib.h>
#include <X11/extensions/XShm.h>
+#include <X11/extensions/Xvlib.h>
#include <sys/shm.h>
#include "libavutil/opt.h"
More information about the ffmpeg-cvslog
mailing list