changeset 6877:8a6e6efeaee5 libavcodec

Remove useless variable
author vitor
date Sun, 25 May 2008 16:46:05 +0000
parents 4610423b0e2d
children 1cec54d18a84
files ra144.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Sun May 25 16:44:56 2008 +0000
+++ b/ra144.c	Sun May 25 16:46:05 2008 +0000
@@ -294,7 +294,6 @@
     int work[10];
     int b = NBLOCKS - a;
     int x;
-    int result;
     unsigned short *sptr  = decsp;
 
     ptr1 = inp;
@@ -303,9 +302,7 @@
     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);