Changeset 0f5837d


Ignore:
Timestamp:
Dec 13, 2018, 3:10:08 AM (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/timestretch, fix/ffmpeg5, master
Children:
2434566
Parents:
39c8d08
Message:

[io] avoid deprecation warning with ffmpeg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_avcodec.c

    r39c8d08 r0f5837d  
    240240    goto beach;
    241241  }
     242#if FFMPEG_LIBAVFORMAT // deprecated with ffmpeg, required with libav
    242243  av_codec_set_pkt_timebase(avCodecCtx,
    243244      avFormatCtx->streams[selected_stream]->time_base);
     245#endif
    244246#endif
    245247
Note: See TracChangeset for help on using the changeset viewer.