[FFmpeg-cvslog] qsv: Drop some unused variables

Diego Biurrun git at videolan.org
Sat Apr 1 16:14:56 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Nov 15 16:17:05 2016 +0100| [715b8243460836fb7dd15bf7e41668e773beb276] | committer: Diego Biurrun

qsv: Drop some unused variables

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=715b8243460836fb7dd15bf7e41668e773beb276
---

 libavcodec/qsv.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c
index 45e9b7a..ab48bb0 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);



More information about the ffmpeg-cvslog mailing list