Commit dd1e889c authored by vitor's avatar vitor

Minor simplification of dec1()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13392 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7cd5e3dd
...@@ -234,12 +234,10 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs ...@@ -234,12 +234,10 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs
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)
{ {
short *ptr,*end; int i;
end = (ptr = decsp) + 30;
while (ptr < end) for (i=0; i<30; i++)
*(ptr++) = *(inp++); *(decsp++) = *(inp++);
return rms(data, f); return rms(data, f);
} }
......
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