[Ffmpeg-cvslog] r8514 - trunk/libavcodec/lzw.c

michael subversion
Sun Mar 25 17:09:16 CEST 2007


Author: michael
Date: Sun Mar 25 17:09:16 2007
New Revision: 8514

Modified:
   trunk/libavcodec/lzw.c

Log:
simplify


Modified: trunk/libavcodec/lzw.c
==============================================================================
--- trunk/libavcodec/lzw.c	(original)
+++ trunk/libavcodec/lzw.c	Sun Mar 25 17:09:16 2007
@@ -68,14 +68,13 @@ struct LZWState {
 /* get one code from stream */
 static int lzw_get_code(struct LZWState * s)
 {
-    int c, sizbuf;
+    int c;
 
     if(s->mode == FF_LZW_GIF) {
         while (s->bbits < s->cursize) {
             if (!s->bs) {
-                sizbuf = *s->pbuf++;
-                s->bs = sizbuf;
-                if(!sizbuf) {
+                s->bs = *s->pbuf++;
+                if(!s->bs) {
                     s->eob_reached = 1;
                     break;
                 }




More information about the ffmpeg-cvslog mailing list