Changeset 2066:cdac752872ef in roaraudio


Ignore:
Timestamp:
07/08/09 14:59:27 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only loop if there are still any buffers in the ring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/buffer.c

    r1953 r2066  
    204204 *len = 0; 
    205205 
    206  while (todo) { 
     206 while (todo && cur != NULL) { 
    207207  ROAR_DBG("roar_buffer_shift_out(*): todo=%u, cur=%p", (unsigned int) todo, cur); 
    208208 
Note: See TracChangeset for help on using the changeset viewer.