Commit c62c628f authored by Vitor Sessak's avatar Vitor Sessak
Browse files

Remove useless variable

Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 14ff7cce
...@@ -294,7 +294,6 @@ static int dec2(signed short *decsp, const int *data, const int *inp, ...@@ -294,7 +294,6 @@ static int dec2(signed short *decsp, const int *data, const int *inp,
int work[10]; int work[10];
int b = NBLOCKS - a; int b = NBLOCKS - a;
int x; int x;
int result;
unsigned short *sptr = decsp; unsigned short *sptr = decsp;
ptr1 = inp; ptr1 = inp;
...@@ -303,9 +302,7 @@ static int dec2(signed short *decsp, const int *data, const int *inp, ...@@ -303,9 +302,7 @@ static int dec2(signed short *decsp, const int *data, const int *inp,
for (x=0; x<30; x++) for (x=0; x<30; x++)
*(sptr++) = (a * (*ptr1++) + b * (*ptr2++)) >> 2; *(sptr++) = (a * (*ptr1++) + b * (*ptr2++)) >> 2;
result = eq(decsp, work); if (eq(decsp, work))
if (result == 1)
return dec1(decsp, data, inp, f); return dec1(decsp, data, inp, f);
else else
return rms(work, f); return rms(work, 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