diff options
Diffstat (limited to 'libhb/enc_qsv.c')
-rw-r--r-- | libhb/enc_qsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c index 06fdb3d5e..a29833123 100644 --- a/libhb/enc_qsv.c +++ b/libhb/enc_qsv.c @@ -1437,7 +1437,7 @@ void encqsvClose(hb_work_object_t *w) { if (qsv_enc_space->is_init_done) { - for (i = hb_qsv_list_count(qsv_enc_space->tasks); i > 1; i--) + for (i = hb_qsv_list_count(qsv_enc_space->tasks); i >= 1; i--) { hb_qsv_task *task = hb_qsv_list_item(qsv_enc_space->tasks, i - 1); |