diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 8eb806a1a03eab2056a9dac1d0e7dc98c207be92..fe583f765f34d78e0cc391da8c12b6cdb7d77c31 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -29,7 +29,7 @@
 #undef NDEBUG
 #include <assert.h>
 
-#include "vdpau.h"
+#include "vdpau_pixfmt.h"
 #include "vdpau_internal.h"
 
 /**
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau_pixfmt.h
similarity index 100%
rename from libavcodec/vdpau.h
rename to libavcodec/vdpau_pixfmt.h
diff --git a/libavcodec/xvmc.c b/libavcodec/xvmc.c
index b66320a61f3b76f973b4f75cf75283d275f236b3..03ac35ce9f1a1269f21471473b6c2afa86067eb3 100644
--- a/libavcodec/xvmc.c
+++ b/libavcodec/xvmc.c
@@ -29,11 +29,11 @@
 #undef NDEBUG
 #include <assert.h>
 
-//X11 includes are in xvmc_render.h
+//X11 includes are in xvmc_pixfmt.h
 //by replacing it with non-X one
 //XvMC emulation could be performed
 
-#include "xvmc_render.h"
+#include "xvmc_pixfmt.h"
 
 //#include "xvmc_debug.h"
 
diff --git a/libavcodec/xvmc_render.h b/libavcodec/xvmc_pixfmt.h
similarity index 100%
rename from libavcodec/xvmc_render.h
rename to libavcodec/xvmc_pixfmt.h