vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Sep 
11 21:29:53 2014 +0300| [180ba5dec306f3c1225b01617dc6bc235928a933] | committer: 
Rémi Denis-Courmont

vdpau: fix mismatched heap free function

(cherry picked from commit d450f9bb8abc35f5e87065c56631109ddc173c0e)

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

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

diff --git a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
index c87013d..7a76d38 100644
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -221,7 +221,7 @@ static int Open(vlc_va_t *va, AVCodecContext *ctx, const 
es_format_t *fmt)
     err = vdp_get_x11(NULL, -1, &sys->vdp, &sys->device);
     if (err != VDP_STATUS_OK)
     {
-        free(sys->context);
+        av_free(sys->context);
         free(sys);
         return VLC_EGENERIC;
     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to