[vlc-commits] vaapi: fix mismatched close callback prototype

Rémi Denis-Courmont git at videolan.org
Wed Jul 17 21:05:38 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 17 22:04:30 2019 +0300| [d01a9ca8a321b99d18a87fd49cee7e226262420d] | committer: Rémi Denis-Courmont

vaapi: fix mismatched close callback prototype

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

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

diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index 1761837f71..44f4891248 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -132,7 +132,7 @@ static int Get(vlc_va_t *va, picture_t *pic, uint8_t **data)
     return VLC_SUCCESS;
 }
 
-static void Delete(vlc_va_t *va, void *hwctx)
+static void Delete(vlc_va_t *va, void **hwctx)
 {
     vlc_va_sys_t *sys = va->sys;
     vlc_object_t *o = VLC_OBJECT(va);



More information about the vlc-commits mailing list