aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-10-15 07:31:06 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-10-15 07:31:06 +0000
commita6080be7a28f8400710f37013587a56d02f969c5 (patch)
treea9f636b1c534210ca40e4385fa21d543bab257aa
parent9c8f0768e305811180c0670808cfcc5f8bbf7f69 (diff)
downloadffmpeg-a6080be7a28f8400710f37013587a56d02f969c5.tar.gz
Cosmetics: fix indentation after previous commit.
Originally committed as revision 15621 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/libvorbis.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 6963e708e2..03c9f885c1 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) ;