summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 21f38a186..857ffa1d2 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -1499,6 +1499,7 @@ void hb_start( hb_handle_t * h )
h->paused = 0;
h->work_die = 0;
+ h->work_error = HB_ERROR_NONE;
h->work_thread = hb_work_init( h->jobs, &h->work_die, &h->work_error, &h->current_job );
}