[FFmpeg-devel] [PATCH] configure: add dxva2 extralibs to avcodec

James Almer jamrial at gmail.com
Sun Jan 6 17:19:06 EET 2019

DXVA2 may be enabled even when every relevant module is disabled,
which would result in the dependency generator not including its
extralibs to avcodec.

Fixes ticket #7642.

Signed-off-by: James Almer <jamrial at gmail.com>
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ead5181bc3..785a9be79f 100755
--- a/configure
+++ b/configure
@@ -3545,7 +3545,7 @@ swresample_suggest="libm libsoxr"
-avcodec_extralibs="pthreads_extralibs iconv_extralibs"
+avcodec_extralibs="pthreads_extralibs iconv_extralibs dxva2_extralibs"
 avutil_extralibs="d3d11va_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vdpau_x11_extralibs"

More information about the ffmpeg-devel mailing list