ref: cd4c9978a4b169517b48d0c6d012b13544b04503
parent: c66d4ff0d1afedeadc9333275b927f5541abfde2
author: Paul Brossier <[email protected]>
date: Tue Mar 18 14:28:21 EDT 2014
src/io/source_avcodec.c: update to libav10, libavcodec 55.34.1
--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -167,7 +167,7 @@
}
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 @@
}
s->output = NULL;
if (s->avFrame != NULL) {
- avcodec_free_frame( &(s->avFrame) );
+ av_frame_free( &(s->avFrame) );
}
s->avFrame = NULL;
AUBIO_FREE(s);