* in that buffer.
*********************************************************************/
void hb_list_getbytes( hb_list_t * l, uint8_t * dst, int size,
- uint64_t * pts, int * pos )
+ uint64_t * pts, uint64_t * pos )
{
hb_buffer_t * buf;
int copied;
uint8_t has_pts;
/* So we won't have to deal with NULL pointers */
- uint64_t dummy1;
- int dummy2;
+ uint64_t dummy1, dummy2;
+
if( !pts ) pts = &dummy1;
if( !pos ) pos = &dummy2;
hb_work_private_t * pv = w->private_data;
hb_buffer_t * buf;
int i, j, k;
- uint64_t pts;
- int pos;
+ uint64_t pts, pos;
/* Get a frame header if don't have one yet */
if( !pv->sync )
{
hb_work_private_t * pv = w->private_data;
hb_buffer_t * buf;
- uint64_t pts;
- int pos;
+ uint64_t pts, pos;
if( hb_list_bytes( pv->list ) < pv->input_samples * sizeof( float ) )
{
hb_work_private_t * pv = w->private_data;
hb_buffer_t * buf;
int16_t samples_s16[1152 * 2];
- uint64_t pts;
- int pos, i;
+ uint64_t pts, pos;
+ int i;
if( hb_list_bytes( pv->list ) < pv->input_samples * sizeof( float ) )
{
int hb_list_bytes( hb_list_t * );
void hb_list_seebytes( hb_list_t * l, uint8_t * dst, int size );
void hb_list_getbytes( hb_list_t * l, uint8_t * dst, int size,
- uint64_t * pts, int * pos );
+ uint64_t * pts, uint64_t * pos );
void hb_list_empty( hb_list_t ** );
hb_title_t * hb_title_init( char * dvd, int index );