Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_wavread.c

    r25ecb73 r99c7aa2  
    196196  }
    197197
    198   if ( sr == 0 ) {
    199     AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be 0)\n", s->path);
     198  if ( (sint_t)sr <= 0 ) {
     199    AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be <= 0)\n", s->path);
    200200    goto beach;
    201201  }
Note: See TracChangeset for help on using the changeset viewer.