diff options
author | Philip Langdale <philipl@overt.org> | 2015-05-25 09:42:14 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2015-05-25 19:50:41 -0700 |
commit | 9ae766d1c6983e6deec4a7bf783d1ef09ca5f3ad (patch) | |
tree | 9801e82f27ce4570ed88294eb5d49703acb92519 /libavcodec/vdpau.c | |
parent | 7ed5d78d619e45b46ba003e8014767b05b73b7d2 (diff) | |
download | ffmpeg-9ae766d1c6983e6deec4a7bf783d1ef09ca5f3ad.tar.gz |
avcodec/vdpau: Re-factor pre-hwaccel helper functions into separate header
h264.h and hevc.h are mutually exclusive due to defining some of the same
names. As such, we need to avoid forcing h264.h to be included if we want
hevc decode acceleration to be possible.
However, some of the pre-hwaccel helper functions need h264.h. To avoid
messy collisions, let's move the declaration of all those helpers to
a separate header which we will exclude for the hevc support (which will
be hwaccel-only).
Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index 0c3893507e..62d99601c7 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -32,6 +32,7 @@ #include <assert.h> #include "vdpau.h" +#include "vdpau_compat.h" #include "vdpau_internal.h" /** |