Changeset 4988:a1cef345432b in roaraudio


Ignore:
Timestamp:
05/20/11 12:33:42 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed a segfaul in buffers, corrected check for supported types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/buffer.c

    r4973 r4988  
    388388  case ROAR_VIO_DFT_PACKET: 
    389389  case ROAR_VIO_DFT_UNFRAMED: 
     390  case ROAR_VIO_DFT_OGG_PACKET: 
     391  case ROAR_VIO_DFT_OGG_PAGE: 
    390392   break; 
    391393  default: 
     
    431433   return -1; 
    432434 
     435  buf->user_data = newbuf + (buf->user_data - buf->data); 
    433436  buf->data = newbuf; 
    434437  buf->user_len = len; 
Note: See TracChangeset for help on using the changeset viewer.