Commit a4a8bec7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vdpau: udpate to latest libavcodec

parent 30236964
...@@ -151,7 +151,9 @@ static void Deinit(vlc_va_t *va) ...@@ -151,7 +151,9 @@ static void Deinit(vlc_va_t *va)
assert(sys->context.decoder != VDP_INVALID_HANDLE); assert(sys->context.decoder != VDP_INVALID_HANDLE);
vdp_decoder_destroy(sys->vdp, sys->context.decoder); vdp_decoder_destroy(sys->vdp, sys->context.decoder);
#if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 13, 0))
av_freep(&sys->context.bitstream_buffers); av_freep(&sys->context.bitstream_buffers);
#endif
} }
static int Setup(vlc_va_t *va, void **ctxp, vlc_fourcc_t *chromap, static int Setup(vlc_va_t *va, void **ctxp, vlc_fourcc_t *chromap,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment