Skip to content
Snippets Groups Projects
Commit 0e57c051 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/vdpau: fix render2() check

parent 403133ab
No related branches found
No related tags found
No related merge requests found
...@@ -237,7 +237,7 @@ FF_DISABLE_DEPRECATION_WARNINGS ...@@ -237,7 +237,7 @@ FF_DISABLE_DEPRECATION_WARNINGS
FF_ENABLE_DEPRECATION_WARNINGS FF_ENABLE_DEPRECATION_WARNINGS
#endif #endif
if (!hwctx->render) { if (!hwctx->render && hwctx->render2) {
status = hwctx->render2(avctx, frame, (void *)&pic_ctx->info, status = hwctx->render2(avctx, frame, (void *)&pic_ctx->info,
pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers);
} else } else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment