From ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 5 Feb 2015 17:39:44 +0100 Subject: vdpau: Adjust necessary #includes for vdpau_internal.h --- 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 #include +#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 #include "avcodec.h" +#include "mpegvideo.h" #include "vdpau.h" #include "vdpau_internal.h" -- cgit v1.1