diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-06 16:23:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-06 16:23:36 +0200 |
commit | 0e57c051181c06d9a3468d5e072ded827ed09a53 (patch) | |
tree | 2f6481cb41c46a07bd072faaadc598633fc202e3 /libavcodec/vdpau.c | |
parent | 403133ab5eb39b5d6d1d2a94e881a40023caa109 (diff) | |
download | ffmpeg-0e57c051181c06d9a3468d5e072ded827ed09a53.tar.gz |
avcodec/vdpau: fix render2() check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r-- | libavcodec/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c index ec7effbec6..a760988b81 100644 --- a/libavcodec/vdpau.c +++ b/libavcodec/vdpau.c @@ -237,7 +237,7 @@ FF_DISABLE_DEPRECATION_WARNINGS FF_ENABLE_DEPRECATION_WARNINGS #endif - if (!hwctx->render) { + if (!hwctx->render && hwctx->render2) { status = hwctx->render2(avctx, frame, (void *)&pic_ctx->info, pic_ctx->bitstream_buffers_used, pic_ctx->bitstream_buffers); } else |