[vlc-commits] vdpau: fix prototype
Rémi Denis-Courmont
git at videolan.org
Fri Dec 21 21:05:09 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec 21 21:26:07 2018 +0200| [f2ffd36f889055d68b5f90eaa93f3c40da433e17] | committer: Rémi Denis-Courmont
vdpau: fix prototype
Match vlc_va_New().
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2ffd36f889055d68b5f90eaa93f3c40da433e17
---
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 e4544e6e0c..1eeef696b3 100644
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -109,7 +109,7 @@ static int Lock(vlc_va_t *va, picture_t *pic, uint8_t **data)
}
static int Open(vlc_va_t *va, AVCodecContext *avctx, enum PixelFormat pix_fmt,
- const es_format_t *fmt, picture_sys_t *p_sys)
+ const es_format_t *fmt, void *p_sys)
{
if (pix_fmt != AV_PIX_FMT_VDPAU)
return VLC_EGENERIC;
More information about the vlc-commits
mailing list