diff options
author | Rodeo <[email protected]> | 2012-05-12 18:09:42 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-05-12 18:09:42 +0000 |
commit | 4e20365ff4a3e7f57d2b0c1e1d8197ccd13425b9 (patch) | |
tree | 0929634569f1e3b687c5473871c85b5f74324c93 /libhb | |
parent | d6eb8af5642d68b21871b50c088c748d33c6410c (diff) |
Further cleanup.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4662 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/work.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libhb/work.c b/libhb/work.c index 2f98c6d66..9dddc72aa 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -388,9 +388,9 @@ void hb_display_job_info( hb_job_t * job ) job->select_subtitle_config.default_track ? ", Default" : "" ); } - for( i=0; i < hb_list_count( title->list_subtitle ); i++ ) + for( i = 0; i < hb_list_count( title->list_subtitle ); i++ ) { - subtitle = hb_list_item( title->list_subtitle, i ); + subtitle = hb_list_item( title->list_subtitle, i ); if( subtitle ) { @@ -608,9 +608,9 @@ static void do_job( hb_job_t * job ) { // Sanitize subtitles uint8_t one_burned = 0; - for( i=0; i < hb_list_count(title->list_subtitle); ) + for( i = 0; i < hb_list_count( title->list_subtitle ); ) { - subtitle = hb_list_item( title->list_subtitle, i ); + subtitle = hb_list_item( title->list_subtitle, i ); if ( subtitle->config.dest == RENDERSUB ) { @@ -997,9 +997,9 @@ static void do_job( hb_job_t * job ) w->fifo_in = job->fifo_mpeg2; w->fifo_out = job->fifo_raw; - for( i=0; i < hb_list_count(title->list_subtitle); i++ ) + for( i = 0; i < hb_list_count( title->list_subtitle ); i++ ) { - subtitle = hb_list_item( title->list_subtitle, i ); + subtitle = hb_list_item( title->list_subtitle, i ); if( subtitle ) { @@ -1335,8 +1335,8 @@ cleanup: hb_fifo_close( &job->fifo_render ); hb_fifo_close( &job->fifo_mpeg4 ); - for (i=0; i < hb_list_count(title->list_subtitle); i++) { - subtitle = hb_list_item( title->list_subtitle, i); + for (i = 0; i < hb_list_count( title->list_subtitle ); i++) { + subtitle = hb_list_item( title->list_subtitle, i); if( subtitle ) { hb_fifo_close( &subtitle->fifo_in ); @@ -1364,7 +1364,7 @@ cleanup: * find the highest and lowest. */ for( i = 0; i < hb_list_count( title->list_subtitle ); i++ ) { - subtitle = hb_list_item( title->list_subtitle, i ); + subtitle = hb_list_item( title->list_subtitle, i ); hb_log( "Subtitle track %d (id 0x%x) '%s': %d hits (%d forced)", subtitle->track, subtitle->id, subtitle->lang, @@ -1422,7 +1422,7 @@ cleanup: for( i = 0; i < hb_list_count( title->list_subtitle ); i++ ) { - subtitle = hb_list_item( title->list_subtitle, i ); + subtitle = hb_list_item( title->list_subtitle, i ); if( subtitle->id == subtitle_hit ) { subtitle->config = job->select_subtitle_config; |