[vlc-commits] vdpau: udpate to latest libavcodec

Rémi Denis-Courmont git at videolan.org
Tue Aug 6 18:45:14 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  6 19:45:00 2013 +0300| [a4a8bec7e95fe4df12859f998c026d1855ba2f39] | committer: Rémi Denis-Courmont

vdpau: udpate to latest libavcodec

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4a8bec7e95fe4df12859f998c026d1855ba2f39
---

 modules/hw/vdpau/avcodec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
index 0f3414c..3c887ae 100644
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -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,



More information about the vlc-commits mailing list