Commit 6603f813 authored by vitor's avatar vitor

More cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13395 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eafebc3a
...@@ -199,7 +199,9 @@ static unsigned int rms(const int *data, int f) ...@@ -199,7 +199,9 @@ static unsigned int rms(const int *data, int f)
} }
/* do quarter-block output */ /* do quarter-block output */
static void do_output_subblock(Real144_internal *glob, const unsigned short *gsp, unsigned int gval, signed short *output_buffer, GetBitContext *gb) static void do_output_subblock(Real144_internal *glob,
const unsigned short *gsp, unsigned int gval,
signed short *output_buffer, GetBitContext *gb)
{ {
unsigned short int buffer_a[40]; unsigned short int buffer_a[40];
unsigned short int *block; unsigned short int *block;
...@@ -222,7 +224,9 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs ...@@ -222,7 +224,9 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs
else else
m[0] = 0; m[0] = 0;
memmove(glob->buffer_2, glob->buffer_2 + BLOCKSIZE, (BUFFERSIZE - BLOCKSIZE) * 2); memmove(glob->buffer_2, glob->buffer_2 + BLOCKSIZE,
(BUFFERSIZE - BLOCKSIZE) * 2);
block = glob->buffer_2 + BUFFERSIZE - BLOCKSIZE; block = glob->buffer_2 + BUFFERSIZE - BLOCKSIZE;
add_wav(d, a, m, buffer_a, etable1[b], etable2[c], block); add_wav(d, a, m, buffer_a, etable1[b], etable2[c], block);
...@@ -230,8 +234,7 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs ...@@ -230,8 +234,7 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs
final(gsp, block, output_buffer, glob->buffer, BLOCKSIZE); final(gsp, block, output_buffer, glob->buffer, BLOCKSIZE);
} }
static int dec1(signed short *decsp, const int *data, const int *inp, static int dec1(signed short *decsp, const int *data, const int *inp, int f)
int f)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment