diff options
author | wm4 <wm4@nowhere> | 2015-03-03 12:28:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-03 12:28:46 +0100 |
commit | c31e5da734b4bd386e675926037d938b82671922 (patch) | |
tree | fd9c70715b32dd9b67364e1fe285b0eb78430e24 /video/decode | |
parent | 5808f1c408be958e90a302f42610fc59dfa0c373 (diff) | |
download | mpv-c31e5da734b4bd386e675926037d938b82671922.tar.bz2 mpv-c31e5da734b4bd386e675926037d938b82671922.tar.xz |
Remove some FFmpeg/Libav compatibility hacks
All of these are now in the supported FFmpeg and Libav versions.
The 3 remaining API checks are for FFmpeg-only things.
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vdpau.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index 92ea401750..43be1f47c1 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -157,11 +157,7 @@ static int init(struct lavc_ctx *ctx) }; ctx->hwdec_priv = p; -#if HAVE_AVCODEC_VDPAU_ALLOC_CONTEXT p->context = av_vdpau_alloc_context(); -#else - p->context = av_mallocz(sizeof(AVVDPAUContext)); -#endif if (!p->context) goto error; |