From: Paul Brossier Date: Fri, 26 Oct 2018 15:50:10 +0000 (+0200) Subject: [io] emit a warning if avutil < 53 X-Git-Tag: 0.4.8~92^2~15^2~1 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=138cb1f6415e6c57ae677d852c46546d85388ca4;p=aubio.git [io] emit a warning if avutil < 53 --- 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