diff mbox

[FFmpeg-devel,2/4] qsvenc: the return value is not any kind of int, it's a mfxStatus

Message ID 20170921135250.716-2-robux4@gmail.com
State New
Headers show

Commit Message

Steve Lhomme Sept. 21, 2017, 1:52 p.m. UTC
---
 libavcodec/qsvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 5eb506fb76..772336b719 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -989,7 +989,7 @@  static int encode_frame(AVCodecContext *avctx, QSVEncContext *q,
     mfxSyncPoint *sync     = NULL;
     QSVFrame *qsv_frame = NULL;
     mfxEncodeCtrl* enc_ctrl = NULL;
-    int ret;
+    mfxStatus ret;
 
     if (frame) {
         ret = submit_frame(q, frame, &qsv_frame);