summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_qsv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/hwcontext_qsv.c')
-rw-r--r--libavutil/hwcontext_qsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c
index 6d9b8324c2..d3d8f42c99 100644
--- a/libavutil/hwcontext_qsv.c
+++ b/libavutil/hwcontext_qsv.c
@@ -134,7 +134,7 @@ int ff_qsv_get_surface_base_handle(mfxFrameSurface1 *surf,
#if CONFIG_D3D11VA
case AV_HWDEVICE_TYPE_D3D11VA:
base_handle[0] = handle_pair->first;
- base_handle[1] = handle_pair->secode;
+ base_handle[1] = handle_pair->second;
return 0;
#endif
#if CONFIG_DXVA2