vlc | branch: master | Alexandre Janniaux <[email protected]> | Wed Jul 1 16:51:01 2020 +0200| [a59a5fa468b63eed80bf3b073f12ad4b757b7ddd] | committer: Alexandre Janniaux
vdpau: avcodec: use data[3] instead of *data Same refactor as 3804ff2dffc2a46ead5598881d0a08db977000d3, but was forgotten from the set. Regression from 3804ff2dffc2a46ead5598881d0a08db977000d3 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a59a5fa468b63eed80bf3b073f12ad4b757b7ddd --- 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 49ff13d589..f83100bd85 100644 --- a/modules/hw/vdpau/avcodec.c +++ b/modules/hw/vdpau/avcodec.c @@ -123,7 +123,7 @@ static int Lock(vlc_va_t *va, picture_t *pic, uint8_t **data) field->context.vctx = vlc_video_context_Hold(sys->vctx); pic->context = &field->context; - *data = (void *)(uintptr_t)field->frame->surface; + data[3] = (void *)(uintptr_t)field->frame->surface; return VLC_SUCCESS; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
