vaapi: fix mismatched close callback prototype
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 17 Jul 2019 19:04:30 +0000 (22:04 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 17 Jul 2019 19:04:41 +0000 (22:04 +0300)
modules/codec/avcodec/vaapi.c

index 1761837..44f4891 100644 (file)
@@ -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);