From 138cb1f6415e6c57ae677d852c46546d85388ca4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 26 Oct 2018 17:50:10 +0200 Subject: [PATCH] [io] emit a warning if avutil < 53 --- src/io/source_avcodec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/io/source_avcodec.c b/src/io/source_avcodec.c index 3631d44e..28039902 100644 --- 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 -- 2.11.0