Changeset a2d628b
- Timestamp:
- Dec 11, 2016, 3:47:00 AM (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, yinfft+
- Children:
- dcde285
- Parents:
- 22b0807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r22b0807 ra2d628b 38 38 #include <libavutil/opt.h> 39 39 #include <stdlib.h> 40 41 // backward compatibility with libavcodec55 42 #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,28,1) 43 #warning "libavcodec55 is deprecated" 44 #define av_frame_alloc avcodec_alloc_frame 45 #define av_frame_free avcodec_free_frame 46 #define av_packet_unref av_free_packet 47 #endif 40 48 41 49 #include "aubio_priv.h" … … 508 516 s->avFormatCtx = NULL; 509 517 } 510 #if FF_API_LAVF_AVCTX511 518 av_packet_unref(&s->avPacket); 512 #else513 av_free_packet(&s->avPacket);514 #endif515 519 return AUBIO_OK; 516 520 }
Note: See TracChangeset
for help on using the changeset viewer.