comparison libmpdemux/demux_ogg.c @ 23873:49a433e2e78f

cosmetics: misc typo fixes
author diego
date Sat, 28 Jul 2007 14:28:38 +0000
parents b1156b0b71c0
children f12dd4085c89
comparison
equal deleted inserted replaced
23872:4d936284a5ec 23873:49a433e2e78f
311 hdrlen |= (*pack->packet & PACKET_LEN_BITS2) <<1; 311 hdrlen |= (*pack->packet & PACKET_LEN_BITS2) <<1;
312 data = pack->packet + 1 + hdrlen; 312 data = pack->packet + 1 + hdrlen;
313 // Calculate the timestamp 313 // Calculate the timestamp
314 if(pack->granulepos == -1) 314 if(pack->granulepos == -1)
315 pack->granulepos = os->lastpos + (os->lastsize ? os->lastsize : 1); 315 pack->granulepos = os->lastpos + (os->lastsize ? os->lastsize : 1);
316 // If we alredy have a timestamp it can be a syncpoint 316 // If we already have a timestamp it can be a syncpoint
317 if(*pack->packet & PACKET_IS_SYNCPOINT) 317 if(*pack->packet & PACKET_IS_SYNCPOINT)
318 *flags = 1; 318 *flags = 1;
319 *pts = pack->granulepos/os->samplerate; 319 *pts = pack->granulepos/os->samplerate;
320 // Save the packet length and timestamp 320 // Save the packet length and timestamp
321 os->lastsize = 0; 321 os->lastsize = 0;