Changeset 6014:4f1cd59b5026 in roaraudio


Ignore:
Timestamp:
06/19/14 20:46:09 (10 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

avoid segfaul when number of channels is multiple of 8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/filter-slfi-fade.c

    r6013 r6014  
    9494 size_t i; 
    9595 
    96  if ( *arrayptr == *arraylen ) { 
     96 if ( (*arrayptr + 1) >= *arraylen ) { 
    9797  new = roar_mm_realloc(*array, sizeof(struct slfi_channel)*(*arraylen + 8)); 
    9898  err = roar_error; 
Note: See TracChangeset for help on using the changeset viewer.