diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-11-15 16:17:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-17 16:53:48 +0100 |
commit | 715b8243460836fb7dd15bf7e41668e773beb276 (patch) | |
tree | 63ab1a9888dba17cd22756a17303d348a32c2dbb /libavcodec/qsv.c | |
parent | bb265b764a055f2dc576b9aec62460d9580868f4 (diff) | |
download | ffmpeg-715b8243460836fb7dd15bf7e41668e773beb276.tar.gz |
qsv: Drop some unused variables
Diffstat (limited to 'libavcodec/qsv.c')
-rw-r--r-- | libavcodec/qsv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 45e9b7aa48..ab48bb0dfb 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); |