From: Paul Brossier Date: Tue, 18 Mar 2014 21:28:21 +0000 (-0300) Subject: src/io/source_avcodec.c: update to libav10, libavcodec 55.34.1 X-Git-Tag: 0.4.2~88 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=cd4c9978a4b169517b48d0c6d012b13544b04503;p=aubio.git src/io/source_avcodec.c: update to libav10, libavcodec 55.34.1 --- diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c index 60e6314b..22d22974 100644 --- a/src/io/source_avcodec.c +++ b/src/io/source_avcodec.c @@ -167,7 +167,7 @@ aubio_source_avcodec_t * new_aubio_source_avcodec(char_t * path, uint_t samplera } AVFrame *avFrame = s->avFrame; - avFrame = avcodec_alloc_frame(); + avFrame = av_frame_alloc(); if (!avFrame) { AUBIO_ERR("source_avcodec: Could not allocate frame for (%s)\n", s->path); } @@ -415,7 +415,7 @@ void del_aubio_source_avcodec(aubio_source_avcodec_t * s){ } s->output = NULL; if (s->avFrame != NULL) { - avcodec_free_frame( &(s->avFrame) ); + av_frame_free( &(s->avFrame) ); } s->avFrame = NULL; AUBIO_FREE(s);