changeset 5228:3d124a8b7a76 libavcodec

Drop redundant assignment and variable
author kostya
date Fri, 06 Jul 2007 14:11:29 +0000
parents 431eef69a62f
children 604a09d6cf2e
files vc1.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Fri Jul 06 11:47:02 2007 +0000
+++ b/vc1.c	Fri Jul 06 14:11:29 2007 +0000
@@ -89,9 +89,7 @@
 }
 
 static inline int decode210(GetBitContext *gb){
-    int n;
-    n = get_bits1(gb);
-    if (n == 1)
+    if (get_bits1(gb))
         return 0;
     else
         return 2 - get_bits1(gb);