From c31e5da734b4bd386e675926037d938b82671922 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Mar 2015 12:28:46 +0100 Subject: 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. --- video/decode/vdpau.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'video/decode') 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; -- cgit v1.2.3