summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_qsv.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-01-29 15:37:38 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2022-01-29 15:37:38 +0100
commit2f323b19789dac87ec57b9fec663e049e0dc4164 (patch)
tree7f3a6af5e339751a2aed5724466af4fd3948d47d /libavutil/hwcontext_qsv.c
parentd388dc20b9dacb5775d701000f23bc78b7d21402 (diff)
avutil/hwcontext_qsv: fix typo
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