summaryrefslogtreecommitdiffstats
path: root/libhb/qsv_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/qsv_filter.c')
-rw-r--r--libhb/qsv_filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/qsv_filter.c b/libhb/qsv_filter.c
index 56116fbd2..1a676ee2b 100644
--- a/libhb/qsv_filter.c
+++ b/libhb/qsv_filter.c
@@ -599,14 +599,14 @@ static int hb_qsv_filter_work( hb_filter_object_t * filter,
hb_buffer_t * out = *buf_out;
int sts = 0;
- av_qsv_context* qsv = pv->job->qsv.ctx;
-
if ( !pv )
{
*buf_out = in;
*buf_in = NULL;
return HB_FILTER_OK;
}
+
+ av_qsv_context* qsv = pv->job->qsv.ctx;
while(1)
{