[Mplayer-cvslog] CVS: main cinepak.c,1.6,1.7

Mike Melanson melanson at mplayer.dev.hu
Thu Feb 28 06:40:47 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv7502

Modified Files:
	cinepak.c 
Log Message:
cleaned up a few (but not all) warnings


Index: cinepak.c
===================================================================
RCS file: /cvsroot/mplayer/main/cinepak.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cinepak.c	28 Feb 2002 05:20:24 -0000	1.6
+++ cinepak.c	28 Feb 2002 05:40:36 -0000	1.7
@@ -567,7 +567,8 @@
 	strip_id, chunk_id, x0, y0, x1, y1, ci, flag, mask;
 long len, top_size, chunk_size;
 unsigned char *frm_ptr, *frm_end;
-int i, cur_strip, d0, d1, d2, d3, frm_stride, bpp = 3;
+unsigned int i, cur_strip;
+int d0, d1, d2, d3, frm_stride, bpp = 3;
 int modulo;
 void (*read_codebook)(cvid_codebook *c, int mode) = read_codebook_24;
 void (*cvid_v1)(unsigned char *frm, unsigned char *end, int stride, cvid_codebook *cb) = cvid_v1_24;
@@ -702,7 +703,7 @@
 					cnum = (chunk_size - modulo) / 6;
 					for(i = 0; i < cnum; i++) read_codebook(codebook+i, 0);
 					while (modulo--)
-						get_byte();
+						in_buffer++;
 					break;
 
 				case 0x2400:




More information about the MPlayer-cvslog mailing list