Changeset 1a6f2de
- Timestamp:
- Apr 10, 2017, 4:27:07 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
- Children:
- b762f8d
- Parents:
- b678858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
rb678858 r1a6f2de 363 363 #endif /* HAVE_AVRESAMPLE || HAVE_SWRESAMPLE */ 364 364 smpl_t *output = s->output; 365 #ifndef FF_API_LAVF_AVCTX 366 int len = 0; 367 #endif 365 368 av_init_packet (&avPacket); 366 369 *read_samples = 0; … … 404 407 } 405 408 #else 406 intlen = avcodec_decode_audio4(avCodecCtx, avFrame, &got_frame, &avPacket);409 len = avcodec_decode_audio4(avCodecCtx, avFrame, &got_frame, &avPacket); 407 410 408 411 if (len < 0) {
Note: See TracChangeset
for help on using the changeset viewer.