Changeset 5978:57415255fbce in roaraudio


Ignore:
Timestamp:
01/27/14 20:13:15 (6 years ago)
Author:
phi
Branch:
default
Message:

test for start channel to be always lower or equal to end channel in rangesets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarlight/roardmx.c

    r5977 r5978  
    453453 } 
    454454 
     455 if ( start > end ) { 
     456  roar_err_set(ROAR_ERROR_RANGE); 
     457  return -1; 
     458 } 
     459 
    455460 p = mes->data + 3 + mes->length; 
    456461 
Note: See TracChangeset for help on using the changeset viewer.