Changeset 2824

Show
Ignore:
Timestamp:
2007-05-31 05:12:12 (2 years ago)
Author:
shans
Message:

One more time, without the printfs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • liboggz/trunk/src/liboggz/oggz_auto.c

    r2823 r2824  
    343343            (*(int *)(op->packet + 64)) * (*(int *)(op->packet + 56)); 
    344344    info->headers_encountered = 1; 
    345     printf("first header, returning 0\n"); 
    346345    return 0; 
    347346  } 
     
    349348  if (info->headers_encountered < 2) { 
    350349    info->headers_encountered += 1; 
    351     printf("second header\n"); 
    352350  } else { 
    353351    info->encountered_first_data_packet = 1; 
    354     printf("encountered data packet\n"); 
    355352  } 
    356353 
    357354  if (now > -1) { 
    358     printf("returning valid gp %lld\n", now); 
    359355    return now; 
    360356  } 
     
    362358  if (info->encountered_first_data_packet) { 
    363359    if (stream->last_granulepos > 0) { 
    364       printf("returning calced gp %lld\n", 
    365           stream->last_granulepos + info->packet_size); 
    366360      return stream->last_granulepos + info->packet_size; 
    367361    } 
    368362     
    369     printf("returning unknown gp\n"); 
    370363    return -1; 
    371364  } 
    372365 
    373   printf("fallback return of 0\n"); 
    374366  return 0; 
    375367