diff options
author | John Stebbins <[email protected]> | 2016-12-09 08:57:34 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-17 07:28:51 -0800 |
commit | a4a6332a90b21eb246b5147dc3285b36cd6f631e (patch) | |
tree | e7085c7b1ebfd3128189397d3cffabe4cb538fda /libhb/qsv_libav.c | |
parent | 85a1e94e356df5ad8bca2b73b197e87aabf59fe6 (diff) |
qsv: fix more compiler warnings
Diffstat (limited to 'libhb/qsv_libav.c')
-rw-r--r-- | libhb/qsv_libav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/qsv_libav.c b/libhb/qsv_libav.c index 0222be9c7..f439c0ffe 100644 --- a/libhb/qsv_libav.c +++ b/libhb/qsv_libav.c @@ -108,7 +108,7 @@ int av_qsv_get_free_surface(av_qsv_space * space, av_qsv_context * qsv, int ff_qsv_is_surface_in_pipe(mfxFrameSurface1 * p_surface, av_qsv_context * qsv) { int ret = 0; - int a, b,i; + int a, b; av_qsv_list *list = 0; av_qsv_stage *stage = 0; @@ -599,7 +599,7 @@ void av_qsv_wait_on_sync(av_qsv_context *qsv, av_qsv_stage *stage) av_qsv_sleep(10); continue; } - AV_QSV_CHECK_RESULT(sts, MFX_ERR_NONE, sts); + AV_QSV_CHECK_RET(sts, MFX_ERR_NONE, sts); break; } } |