- Timestamp:
- Nov 30, 2016, 5:18:14 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, yinfft+
- Children:
- 8a49bb9
- Parents:
- 41ebc91
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
r41ebc91 r261836d 60 60 AVCodecContext *avCodecCtx; 61 61 AVFrame *avFrame; 62 AVPacket avPacket; 62 63 AVAudioResampleContext *avr; 63 64 smpl_t *output; … … 306 307 AVCodecContext *avCodecCtx = s->avCodecCtx; 307 308 AVFrame *avFrame = s->avFrame; 308 AVPacket avPacket ;309 AVPacket avPacket = s->avPacket; 309 310 av_init_packet (&avPacket); 310 311 AVAudioResampleContext *avr = s->avr; … … 507 508 s->avFormatCtx = NULL; 508 509 } 510 #if FF_API_LAVF_AVCTX 511 av_packet_unref(&s->avPacket); 512 #else 513 av_free_packet(&s->avPacket); 514 #endif 509 515 return AUBIO_OK; 510 516 }
Note: See TracChangeset
for help on using the changeset viewer.