From ad884d100259e55cb51a4239cd8a4fd5154c2073 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Jan 2016 14:25:58 +0100 Subject: hwcontext: add a CUDA implementation --- libavutil/hwcontext.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavutil/hwcontext.c') diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index 2aa712e963..b6d05181c4 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -29,6 +29,9 @@ #include "pixfmt.h" static const HWContextType *hw_table[] = { +#if CONFIG_CUDA + &ff_hwcontext_type_cuda, +#endif #if CONFIG_VDPAU &ff_hwcontext_type_vdpau, #endif -- cgit v1.2.3