[FFmpeg-devel] [PATCH]Fix building with old libxv

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 9 14:17:46 CEST 2013


Hi!

I cannot reproduce but apparently the xv output device cannot be built with 
old libxv (1.0.4), this change "fixed" the build:
http://upstream-tracker.org/diffs/libXv/1.0.4_to_1.0.5/diff.html

Attached is a change for FFmpeg that may allow to build xv with old libxv, 
please comment.

Carl Eugen
-------------- next part --------------
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-devel mailing list