Changeset 0f5837d for src


Ignore:
Timestamp:
Dec 13, 2018, 3:10:08 AM (11 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, 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.