OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / libhb / hb.c
index 11afcc1..0541b9f 100644 (file)
@@ -49,16 +49,10 @@ struct hb_handle_s
 
 hb_lock_t *hb_avcodec_lock;
 hb_work_object_t * hb_objects = NULL;
-hb_process_initialized = 0;
+int hb_process_initialized = 0;
 
 static void thread_func( void * );
 
-
-int hello_world(){
-       return 55555;
-}
-
-
 void hb_avcodec_init()
 {
     hb_avcodec_lock  = hb_lock_init();
@@ -666,7 +660,7 @@ void hb_set_anamorphic_size( hb_job_t * job,
     int cropped_width = title->width - job->crop[2] - job->crop[3] ;
     int cropped_height = title->height - job->crop[0] - job->crop[1] ;
     double storage_aspect = (double)cropped_width / (double)cropped_height;
-    int mod = job->anamorphic.modulus ? job->anamorphic.modulus : 16;
+    int mod = job->modulus ? job->modulus : 16;
     double aspect = title->aspect;
     
     int pixel_aspect_width  = job->anamorphic.par_width;