[MPlayer-cvslog] CVS: main/tremor framing.c,1.2,1.3
Ivo van Poorten CVS
syncmail at mplayerhq.hu
Thu Aug 11 00:48:34 CEST 2005
CVS change done by Ivo van Poorten CVS
Update of /cvsroot/mplayer/main/tremor
In directory mail:/var2/tmp/cvs-serv20544/tremor
Modified Files:
framing.c
Log Message:
Remove stray MSDOS linebreaks
Index: framing.c
===================================================================
RCS file: /cvsroot/mplayer/main/tremor/framing.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- framing.c 24 Apr 2005 08:36:23 -0000 1.2
+++ framing.c 10 Aug 2005 22:48:32 -0000 1.3
@@ -117,7 +117,7 @@
}
#endif
-static const ogg_uint32_t crc_lookup[256]={
+static const ogg_uint32_t crc_lookup[256]={
0x00000000,0x04c11db7,0x09823b6e,0x0d4326d9,
0x130476dc,0x17c56b6b,0x1a864db2,0x1e475005,
0x2608edb8,0x22c9f00f,0x2f8ad6d6,0x2b4bcb61,
@@ -260,10 +260,10 @@
for(i=0;i<og->body_len;i++)
crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^og->body[i]];
- og->header[22]=(unsigned char)(crc_reg&0xff);
- og->header[23]=(unsigned char)((crc_reg>>8)&0xff);
- og->header[24]=(unsigned char)((crc_reg>>16)&0xff);
- og->header[25]=(unsigned char)((crc_reg>>24)&0xff);
+ og->header[22]=(unsigned char)(crc_reg&0xff);
+ og->header[23]=(unsigned char)((crc_reg>>8)&0xff);
+ og->header[24]=(unsigned char)((crc_reg>>16)&0xff);
+ og->header[25]=(unsigned char)((crc_reg>>24)&0xff);
}
}
@@ -378,7 +378,7 @@
/* 64 bits of PCM position */
for(i=6;i<14;i++){
- os->header[i]=(unsigned char)(granule_pos&0xff);
+ os->header[i]=(unsigned char)(granule_pos&0xff);
granule_pos>>=8;
}
@@ -386,7 +386,7 @@
{
long serialno=os->serialno;
for(i=14;i<18;i++){
- os->header[i]=(unsigned char)(serialno&0xff);
+ os->header[i]=(unsigned char)(serialno&0xff);
serialno>>=8;
}
}
@@ -401,7 +401,7 @@
{
long pageno=os->pageno++;
for(i=18;i<22;i++){
- os->header[i]=(unsigned char)(pageno&0xff);
+ os->header[i]=(unsigned char)(pageno&0xff);
pageno>>=8;
}
}
@@ -413,9 +413,9 @@
os->header[25]=0;
/* segment table */
- os->header[26]=(unsigned char)(vals&0xff);
+ os->header[26]=(unsigned char)(vals&0xff);
for(i=0;i<vals;i++)
- bytes+=os->header[i+27]=(unsigned char)(os->lacing_vals[i]&0xff);
+ bytes+=os->header[i+27]=(unsigned char)(os->lacing_vals[i]&0xff);
/* set pointers in the ogg_page struct */
og->header=os->header;
@@ -645,7 +645,7 @@
buffer. If it doesn't verify, we look for the next potential
frame */
- for(;;){
+ for(;;){
long ret=ogg_sync_pageseek(oy,og);
if(ret>0){
/* have a page */
More information about the MPlayer-cvslog
mailing list