From: benoit Date: Wed, 15 Oct 2008 07:31:06 +0000 (+0000) Subject: Cosmetics: fix indentation after previous commit. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/c06e9101c34e539a801b8a5cd7136607c7359ce4 Cosmetics: fix indentation after previous commit. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15621 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index 6963e708e..03c9f885c 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -145,19 +145,17 @@ static int oggvorbis_encode_frame(AVCodecContext *avccontext, int samples = OGGVORBIS_FRAME_SIZE; float **buffer ; - buffer = vorbis_analysis_buffer(&context->vd, samples) ; - - if(context->vi.channels == 1) { - for(l = 0 ; l < samples ; l++) - buffer[0][l]=audio[l]/32768.f; - } else { - for(l = 0 ; l < samples ; l++){ - buffer[0][l]=audio[l*2]/32768.f; - buffer[1][l]=audio[l*2+1]/32768.f; + buffer = vorbis_analysis_buffer(&context->vd, samples) ; + if(context->vi.channels == 1) { + for(l = 0 ; l < samples ; l++) + buffer[0][l]=audio[l]/32768.f; + } else { + for(l = 0 ; l < samples ; l++){ + buffer[0][l]=audio[l*2]/32768.f; + buffer[1][l]=audio[l*2+1]/32768.f; + } } - } - - vorbis_analysis_wrote(&context->vd, samples) ; + vorbis_analysis_wrote(&context->vd, samples) ; } else { if(!context->eof) vorbis_analysis_wrote(&context->vd, 0) ;