Changeset 91fa88d


Ignore:
Timestamp:
Mar 17, 2017, 6:34:04 PM (7 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, sampler
Children:
0fdab5b, 1d2cc5e, 24c207f, badb525
Parents:
bdf7caf
Message:

src/io/source_avcodec.c: use avcodec_free_context for newer ffmpeg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    rbdf7caf r91fa88d  
    565565  s->avr = NULL;
    566566  if (s->avCodecCtx != NULL) {
     567#ifndef HAVE_AUBIO_LIBAVCODEC_DEPRECATED
     568    avcodec_free_context( &s->avCodecCtx );
     569#else
    567570    avcodec_close ( s->avCodecCtx );
     571#endif
    568572  }
    569573  s->avCodecCtx = NULL;
Note: See TracChangeset for help on using the changeset viewer.