- Timestamp:
- Dec 11, 2016, 2:47:39 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
- Children:
- cd2cbc4
- Parents:
- dcde285
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
rdcde285 r1504b7c 42 42 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1) 43 43 #warning "libavcodec55 is deprecated" 44 #define HAVE_AUBIO_LIBAVCODEC_DEPRECATED 1 44 45 #define av_frame_alloc avcodec_alloc_frame 45 46 #define av_frame_free avcodec_free_frame … … 513 514 if (s->avFormatCtx != NULL) { 514 515 avformat_close_input(&s->avFormatCtx); 516 #ifndef HAVE_AUBIO_LIBAVCODEC_DEPRECATED // avoid crash on old libavcodec54 515 517 avformat_free_context(s->avFormatCtx); 518 #endif 516 519 s->avFormatCtx = NULL; 517 520 }
Note: See TracChangeset
for help on using the changeset viewer.