From: jstebbins Date: Tue, 23 Dec 2014 19:28:40 +0000 (+0000) Subject: libhb: remove dead code X-Git-Tag: 1.0.0~1654 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80d43d93c9514df0437480d3054720a803c3b663;p=handbrake libhb: remove dead code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6646 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/common.c b/libhb/common.c index 4a807fcda..357405c6b 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -2961,10 +2961,6 @@ void hb_title_close( hb_title_t ** _t ) free( t->video_codec_name ); free(t->container_name); -#if defined(HB_TITLE_JOBS) - hb_job_close( &t->job ); -#endif - free( t ); *_t = NULL; } @@ -2998,9 +2994,6 @@ static void job_setup(hb_job_t * job, hb_title_t * title) job->width = title->geometry.width - title->crop[2] - title->crop[3]; job->height = title->geometry.height - title->crop[0] - title->crop[1]; -#ifdef HB_DEPRECATE_JOB_SETTINGS - job->anamorphic.keep_display_aspect = 1; -#endif hb_geometry_t resultGeo, srcGeo; hb_geometry_settings_t uiGeo; diff --git a/libhb/scan.c b/libhb/scan.c index d57f3ecba..edad5857c 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -268,9 +268,6 @@ static void ScanFunc( void * _data ) { title = hb_list_item( data->title_set->list_title, i ); title->flags |= HBTF_SCAN_COMPLETE; -#if defined(HB_TITLE_JOBS) - title->job = hb_job_init( title ); -#endif } finish: