ref: 7d7c9f0d99cbc92969ff9af2e6ada0bdcf4a5f3b
parent: fe1972490ddc30fd874b8bd7d81d3c3c18b85551
author: Paul Brossier <piem@piem.org>
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);
--
⑨