[vlc-commits] va: fix mismatched var-arg types

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


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 17 22:09:01 2019 +0300| [ee139ff01a0d251dfb7c203d4c90c40570857388] | committer: Rémi Denis-Courmont

va: fix mismatched var-arg types

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

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

diff --git a/modules/codec/avcodec/va.c b/modules/codec/avcodec/va.c
index b8b9e267a1..7d4660012e 100644
--- a/modules/codec/avcodec/va.c
+++ b/modules/codec/avcodec/va.c
@@ -107,7 +107,7 @@ static int vlc_va_Start(void *func, va_list ap)
 static void vlc_va_Stop(void *func, va_list ap)
 {
     vlc_va_t *va = va_arg(ap, vlc_va_t *);
-    void *hwctx = va_arg(ap, void *);
+    void **hwctx = va_arg(ap, void **);
     void (*close)(vlc_va_t *, void *) = func;
 
     close(va, hwctx);



More information about the vlc-commits mailing list