Lines Matching refs:headerbytes
703 if(oy->headerbytes==0){ in ogg_sync_pageseek()
712 oy->headerbytes=oggbyte_read1(&page,26)+27; in ogg_sync_pageseek()
714 if(bytes<oy->headerbytes)goto sync_out; /* not enough for header + in ogg_sync_pageseek()
719 for(i=0;i<oy->headerbytes-27;i++) in ogg_sync_pageseek()
723 if(oy->bodybytes+oy->headerbytes>bytes)goto sync_out; in ogg_sync_pageseek()
732 if(chksum!=_checksum(oy->fifo_tail,oy->bodybytes+oy->headerbytes)){ in ogg_sync_pageseek()
747 og->header=ogg_buffer_split(&oy->fifo_tail,&oy->fifo_head,oy->headerbytes); in ogg_sync_pageseek()
748 og->header_len=oy->headerbytes; in ogg_sync_pageseek()
754 ogg_buffer_pretruncate(oy->fifo_tail,oy->headerbytes+oy->bodybytes); in ogg_sync_pageseek()
758 ret=oy->headerbytes+oy->bodybytes; in ogg_sync_pageseek()
760 oy->headerbytes=0; in ogg_sync_pageseek()
768 oy->headerbytes=0; in ogg_sync_pageseek()
847 oy->headerbytes=0; in ogg_sync_reset()