summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-18 18:00:50 +0000
committerRodeo <[email protected]>2013-03-18 18:00:50 +0000
commitfd2a327a0d531e7ca654efa6c387acd6a18d0b8b (patch)
treecd163326f1a6345db7df2cb01cbd6063f5470c1c /libhb/work.c
parentb15a531495fdd01eee3135055d2f52d25daf1967 (diff)
hb_system_sleep: minor cleanup after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5337 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 6dd111401..689e474ca 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -13,10 +13,9 @@
typedef struct
{
- hb_handle_t * handle;
- hb_list_t * jobs;
- hb_job_t ** current_job;
- int * error;
+ hb_list_t * jobs;
+ hb_job_t ** current_job;
+ int * error;
volatile int * die;
} hb_work_t;
@@ -45,10 +44,10 @@ hb_thread_t * hb_work_init( hb_list_t * jobs, volatile int * die, int * error, h
{
hb_work_t * work = calloc( sizeof( hb_work_t ), 1 );
- work->jobs = jobs;
+ work->jobs = jobs;
work->current_job = job;
- work->die = die;
- work->error = error;
+ work->die = die;
+ work->error = error;
return hb_thread_init( "work", work_func, work, HB_LOW_PRIORITY );
}