- Timestamp:
- Dec 13, 2018, 3:36:33 AM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 7735d06
- Parents:
- 0f5837d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r0f5837d r2434566 45 45 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(57,0,0) 46 46 #define HAVE_AUBIO_LIBAVCODEC_DEPRECATED 1 47 #endif 48 49 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,3,102) 50 #define HAVE_AUBIO_LIBAVCODEC_TIMEBASE_FIX 1 47 51 #endif 48 52 … … 240 244 goto beach; 241 245 } 242 #if FFMPEG_LIBAVFORMAT // deprecated with ffmpeg, required with libav 246 #if HAVE_AUBIO_LIBAVCODEC_TIMEBASE_FIX 247 // avoids 'skipped frames warning' with avecodec < 58, deprecated after 243 248 av_codec_set_pkt_timebase(avCodecCtx, 244 249 avFormatCtx->streams[selected_stream]->time_base);
Note: See TracChangeset
for help on using the changeset viewer.