Displaying 1 result from an estimated 1 matches for "_tp_writebuffer".
2008 Mar 31
1
Problem creating ogg comment header for theatrical/stage/disco lighting stream
...ava_version_string();
const int vendor_length = strlen(vendor);
CP_INSTANCE *cpi=(CP_INSTANCE *)(t->internal_encode);
#ifndef LIBOGG2
oggpackB_reset(cpi->oggbuffer);
#else
oggpackB_writeinit(cpi->oggbuffer, cpi->oggbufferstate);
#endif
oggpackB_write(cpi->oggbuffer, 0x81, 8);
_tp_writebuffer(cpi->oggbuffer, "libava", 6);
_tp_writelsbint(cpi->oggbuffer, vendor_length);
_tp_writebuffer(cpi->oggbuffer, vendor, vendor_length);
_tp_writelsbint(cpi->oggbuffer, tc->comments);
if(tc->comments){
int i;
for(i=0;i<tc->comments;i++){
if(tc->user_co...