]> git.sesse.net Git - vlc/commitdiff
vdpau: udpate to latest libavcodec
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Aug 2013 16:45:00 +0000 (19:45 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 6 Aug 2013 16:45:00 +0000 (19:45 +0300)
modules/hw/vdpau/avcodec.c

index 0f3414c39feb70feee9a5c8494034a9157f2e2c3..3c887ae67e665f98b92de05a3dd36f37bb2a63e3 100644 (file)
@@ -151,7 +151,9 @@ static void Deinit(vlc_va_t *va)
 
     assert(sys->context.decoder != VDP_INVALID_HANDLE);
     vdp_decoder_destroy(sys->vdp, sys->context.decoder);
+#if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55, 13, 0))
     av_freep(&sys->context.bitstream_buffers);
+#endif
 }
 
 static int Setup(vlc_va_t *va, void **ctxp, vlc_fourcc_t *chromap,