summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vdpau_internal.h4
-rw-r--r--libavcodec/vdpau_mpeg12.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index e5fe63dd19..cc49db8433 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -31,10 +31,10 @@
#endif
#include "h264.h"
+#include "libavutil/frame.h"
+
#include "avcodec.h"
#include "mpeg4video.h"
-#include "mpegvideo.h"
-#include "version.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 c47e50e0ec..3ac2cb827d 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"