summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-25 16:46:05 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-25 16:46:05 +0000
commitc62c628fb35ccb578fb1542d5308678cebc5b6e4 (patch)
tree5b45ac203329e70f7e68e79d2f41c2112d844112 /libavcodec
parent14ff7cceeb1ffac01a84277b46b18f7329037593 (diff)
downloadffmpeg-streaming-c62c628fb35ccb578fb1542d5308678cebc5b6e4.zip
ffmpeg-streaming-c62c628fb35ccb578fb1542d5308678cebc5b6e4.tar.gz
Remove useless variable
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ra144.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 1fd4f52..abaf46f 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -294,7 +294,6 @@ static int dec2(signed short *decsp, const int *data, const int *inp,
int work[10];
int b = NBLOCKS - a;
int x;
- int result;
unsigned short *sptr = decsp;
ptr1 = inp;
@@ -303,9 +302,7 @@ static int dec2(signed short *decsp, const int *data, const int *inp,
for (x=0; x<30; x++)
*(sptr++) = (a * (*ptr1++) + b * (*ptr2++)) >> 2;
- result = eq(decsp, work);
-
- if (result == 1)
+ if (eq(decsp, work))
return dec1(decsp, data, inp, f);
else
return rms(work, f);
OpenPOWER on IntegriCloud