Changeset 58fe197 for src/io


Ignore:
Timestamp:
Aug 6, 2018, 5:21:46 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
230101d
Parents:
265fe9a
Message:

src/io/source_avcodec.c: make sure libavutil > 52 before checking avFrame->channels (see #137)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    r265fe9a r58fe197  
    426426  }
    427427
     428#if LIBAVUTIL_VERSION_MAJOR > 52
    428429  if (avFrame->channels != (sint_t)s->input_channels) {
    429430    AUBIO_WRN ("source_avcodec: trying to read from %d channel(s),"
     
    432433    goto beach;
    433434  }
     435#endif
    434436
    435437#ifdef HAVE_AVRESAMPLE
Note: See TracChangeset for help on using the changeset viewer.