projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c66d4ff
)
src/io/source_avcodec.c: update to libav10, libavcodec 55.34.1
author
Paul Brossier
<piem@piem.org>
Tue, 18 Mar 2014 21:28:21 +0000
(18:28 -0300)
committer
Paul Brossier
<piem@piem.org>
Tue, 18 Mar 2014 21:28:21 +0000
(18:28 -0300)
src/io/source_avcodec.c
patch
|
blob
|
history
diff --git
a/src/io/source_avcodec.c
b/src/io/source_avcodec.c
index
60e6314
..
22d2297
100644
(file)
--- 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 *avFrame = s->avFrame;
- avFrame = av
codec_alloc_frame
();
+ avFrame = av
_frame_alloc
();
if (!avFrame) {
AUBIO_ERR("source_avcodec: Could not allocate frame for (%s)\n", s->path);
}
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) {
}
s->output = NULL;
if (s->avFrame != NULL) {
- av
codec_free_fram
e( &(s->avFrame) );
+ av
_frame_fre
e( &(s->avFrame) );
}
s->avFrame = NULL;
AUBIO_FREE(s);
}
s->avFrame = NULL;
AUBIO_FREE(s);