diff ffv1.c @ 1453:20a79b0e6d2a libavcodec

removed warnings
author bellard
date Tue, 09 Sep 2003 22:50:44 +0000
parents 8479b875a989
children 79dddc5cd990
line wrap: on
line diff
--- a/ffv1.c	Tue Sep 09 22:48:19 2003 +0000
+++ b/ffv1.c	Tue Sep 09 22:50:44 2003 +0000
@@ -865,6 +865,8 @@
         if(bytes_read ==0) printf("error at end of AC stream\n");
 //printf("pos=%d\n", bytes_read);
         init_get_bits(&f->gb, buf + bytes_read, buf_size - bytes_read);
+    } else {
+        bytes_read = 0; /* avoid warning */
     }
     
     if(1){