diff options
author | midzer <[email protected]> | 2016-10-19 20:56:01 +0200 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-14 11:29:32 -0500 |
commit | 87872280813589805b91f08385ade60363f53aad (patch) | |
tree | d830ef991a178c24b560d5d41da76ec0a411caaf | |
parent | eb5a5d63d233eaf87f0b2a13169465ac938ef6ff (diff) |
qsv: Fix possible null pointer dereference.
-rw-r--r-- | libhb/qsv_filter.c | 4 |
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) { |