diff options
author | saintdev <[email protected]> | 2008-02-21 02:02:42 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2008-02-21 02:02:42 +0000 |
commit | cdfc09f2ba0eac2793357e18408248fba1f9620d (patch) | |
tree | ae829c21b492f74299569ca91bd9f378e012a21a /libhb/encfaac.c | |
parent | a9cd8746b1a207e67b3e6fb0c78002d448c43fc1 (diff) |
Formatting: Remove a lot of trailing whitespace.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1307 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encfaac.c')
-rw-r--r-- | libhb/encfaac.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libhb/encfaac.c b/libhb/encfaac.c index 2ba9ad4e0..b54b79934 100644 --- a/libhb/encfaac.c +++ b/libhb/encfaac.c @@ -19,7 +19,7 @@ struct hb_work_private_s hb_list_t * list; int64_t pts; - + int out_discrete_channels; }; @@ -59,12 +59,12 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job ) pv->faac = faacEncOpen( job->arate, pv->out_discrete_channels, &pv->input_samples, &pv->output_bytes ); pv->buf = malloc( pv->input_samples * sizeof( float ) ); - + cfg = faacEncGetCurrentConfiguration( pv->faac ); cfg->mpegVersion = MPEG4; cfg->aacObjectType = LOW; cfg->allowMidside = 1; - + if (pv->out_discrete_channels == 6) { /* we are preserving 5.1 audio into 6-channel AAC, so indicate that we have an lfe channel */ @@ -78,7 +78,7 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job ) cfg->bandWidth = 0; cfg->outputFormat = 0; cfg->inputFormat = FAAC_INPUT_FLOAT; - + if (w->amixdown == HB_AMIXDOWN_6CH && w->source_acodec == HB_ACODEC_AC3) { /* we are preserving 5.1 AC-3 audio into 6-channel AAC, and need to @@ -93,7 +93,7 @@ int encfaacInit( hb_work_object_t * w, hb_job_t * job ) cfg->channel_map[4] = 5; cfg->channel_map[5] = 0; } - + if( !faacEncSetConfiguration( pv->faac, cfg ) ) { hb_log( "faacEncSetConfiguration failed" ); @@ -197,7 +197,7 @@ int encfaacWork( hb_work_object_t * w, hb_buffer_t ** buf_in, buf->next = Encode( w ); buf = buf->next; } - + return HB_WORK_OK; } |