projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1c5e2
)
[io] emit a warning if avutil < 53
author
Paul Brossier
<piem@piem.org>
Fri, 26 Oct 2018 15:50:10 +0000
(17:50 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 26 Oct 2018 15:50:10 +0000
(17:50 +0200)
src/io/source_avcodec.c
patch
|
blob
|
history
diff --git
a/src/io/source_avcodec.c
b/src/io/source_avcodec.c
index
3631d44
..
2803990
100644
(file)
--- a/
src/io/source_avcodec.c
+++ b/
src/io/source_avcodec.c
@@
-434,6
+434,8
@@
void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_sam
s->input_channels, s->path);
goto beach;
}
+#else
+#warning "avutil < 53 is deprecated, crashes might occur on corrupt files"
#endif
#ifdef HAVE_AVRESAMPLE