diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /libmpcodecs/ae_lame.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ae_lame.c')
-rw-r--r-- | libmpcodecs/ae_lame.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libmpcodecs/ae_lame.c b/libmpcodecs/ae_lame.c index 14cdcc6ac1..68143b860f 100644 --- a/libmpcodecs/ae_lame.c +++ b/libmpcodecs/ae_lame.c @@ -93,11 +93,11 @@ static int bind_lame(audio_encoder_t *encoder, muxer_stream_t *mux_a) ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nBlockSize=encoder->params.samples_per_frame; // ??? ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nFramesPerBlock=1; ((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nCodecDelay=0; - + encoder->input_format = AF_FORMAT_S16_NE; encoder->min_buffer_size = 4608; encoder->max_buffer_size = mux_a->h.dwRate * mux_a->wf->nChannels * 2; - + return 1; } @@ -187,14 +187,14 @@ int mpae_init_lame(audio_encoder_t *encoder) } #endif if(lame_init_params(lame) == -1) { - mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LameCantInit); + mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_LameCantInit); return 0; } if( mp_msg_test(MSGT_MENCODER,MSGL_V) ) { lame_print_config(lame); lame_print_internals(lame); } - + encoder->bind = bind_lame; encoder->get_frame_size = get_frame_size; encoder->encode = encode_lame; @@ -204,7 +204,7 @@ int mpae_init_lame(audio_encoder_t *encoder) } #ifdef CONFIG_MP3LAME_PRESET -/* lame_presets_set +/* lame_presets_set taken out of presets_set in lame-3.93.1/frontend/parse.c and modified */ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_name ) { @@ -264,7 +264,7 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_ return 0; } #endif - + if (strcmp(preset_name, "standard") == 0) { if (fast > 0) lame_set_preset(gfp, STANDARD_FAST); @@ -273,7 +273,7 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_ return 0; } - + else if (strcmp(preset_name, "extreme") == 0){ if (fast > 0) lame_set_preset(gfp, EXTREME_FAST); @@ -282,12 +282,12 @@ static int lame_presets_set( lame_t gfp, int fast, int cbr, const char* preset_ return 0; } - - else if (((strcmp(preset_name, "insane") == 0) || + + else if (((strcmp(preset_name, "insane") == 0) || (strcmp(preset_name, "320" ) == 0)) && (fast < 1)) { lame_set_preset(gfp, INSANE); - + return 0; } |