[FFmpeg-cvslog] r9502 - trunk/libavcodec/vc1.c

kostya subversion
Fri Jul 6 16:11:30 CEST 2007


Author: kostya
Date: Fri Jul  6 16:11:29 2007
New Revision: 9502

Log:
Drop redundant assignment and variable

Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Fri Jul  6 16:11:29 2007
@@ -89,9 +89,7 @@ static int get_prefix(GetBitContext *gb,
 }
 
 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);




More information about the ffmpeg-cvslog mailing list