aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-31 16:38:37 -0300
committerJames Almer <jamrial@gmail.com>2017-03-31 16:38:37 -0300
commitb725b482c6af996cb1922c48c3b32c3a6e857ea1 (patch)
treecdce29580a057ea3f7f96c8023fe5a476661848f /libavcodec/vdpau.c
parentfc2a94219df7eccd540e0dac42c27cd9e35148de (diff)
parent800d91d348c89fc8ca3fbec7696ab1ec8787acc6 (diff)
downloadffmpeg-b725b482c6af996cb1922c48c3b32c3a6e857ea1.tar.gz
Merge commit '800d91d348c89fc8ca3fbec7696ab1ec8787acc6'
* commit '800d91d348c89fc8ca3fbec7696ab1ec8787acc6': Drop pointless void* casts Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r--libavcodec/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index a232603c60..9c7804a287 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -350,7 +350,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
status = hwctx->render2(avctx, frame, (void *)&pic_ctx->info,
pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers);
} else
- status = vdctx->render(vdctx->decoder, surf, (void *)&pic_ctx->info,
+ status = vdctx->render(vdctx->decoder, surf, &pic_ctx->info,
pic_ctx->bitstream_buffers_used,
pic_ctx->bitstream_buffers);