summaryrefslogtreecommitdiff
path: root/libavcodec/qsv.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-04-01 15:14:31 +0200
committerClément Bœsch <u@pkh.me>2017-04-01 15:14:31 +0200
commita032c5224d409bf2d9d4f5dbcab9b8e9fae60b23 (patch)
treed1c86334ff3d34e26449a32a53d27b1056936e87 /libavcodec/qsv.c
parente3d8963c3cb5b8cd31460dd9b3b9dba2a2343bf5 (diff)
parent715b8243460836fb7dd15bf7e41668e773beb276 (diff)
Merge commit '715b8243460836fb7dd15bf7e41668e773beb276'
* commit '715b8243460836fb7dd15bf7e41668e773beb276': qsv: Drop some unused variables Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/qsv.c')
-rw-r--r--libavcodec/qsv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c
index dfc1536c73..1284419741 100644
--- a/libavcodec/qsv.c
+++ b/libavcodec/qsv.c
@@ -466,9 +466,7 @@ static mfxStatus qsv_frame_lock(mfxHDL pthis, mfxMemId mid, mfxFrameData *ptr)
QSVMid *qsv_mid = mid;
AVHWFramesContext *hw_frames_ctx = (AVHWFramesContext*)qsv_mid->hw_frames_ref->data;
AVQSVFramesContext *hw_frames_hwctx = hw_frames_ctx->hwctx;
- int size;
int ret;
- mfxStatus err;
if (qsv_mid->locked_frame)
return MFX_ERR_UNDEFINED_BEHAVIOR;
@@ -523,7 +521,6 @@ fail:
static mfxStatus qsv_frame_unlock(mfxHDL pthis, mfxMemId mid, mfxFrameData *ptr)
{
QSVMid *qsv_mid = mid;
- int ret;
av_frame_free(&qsv_mid->locked_frame);
av_frame_free(&qsv_mid->hw_frame);