[FFmpeg-cvslog] vdpau: Adjust necessary #includes for vdpau_internal.h

Diego Biurrun git at videolan.org
Sat Feb 14 22:59:57 CET 2015


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Feb  5 17:39:44 2015 +0100| [ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f] | committer: Diego Biurrun

vdpau: Adjust necessary #includes for vdpau_internal.h

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f
---

 libavcodec/vdpau_internal.h |    5 +++--
 libavcodec/vdpau_mpeg12.c   |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index 9cc9538..f35c99d 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -27,9 +27,10 @@
 #include <stdint.h>
 #include <vdpau/vdpau.h>
 
+#include "libavutil/frame.h"
+
 #include "avcodec.h"
-#include "mpegvideo.h"
-#include "version.h"
+#include "vdpau.h"
 
 /** Extract VdpVideoSurface from an AVFrame */
 static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic)
diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c
index 421abe9..cb6f81a 100644
--- a/libavcodec/vdpau_mpeg12.c
+++ b/libavcodec/vdpau_mpeg12.c
@@ -24,6 +24,7 @@
 #include <vdpau/vdpau.h>
 
 #include "avcodec.h"
+#include "mpegvideo.h"
 #include "vdpau.h"
 #include "vdpau_internal.h"
 



More information about the ffmpeg-cvslog mailing list