[io] emit a warning if avutil < 53
authorPaul Brossier <piem@piem.org>
Fri, 26 Oct 2018 15:50:10 +0000 (17:50 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 26 Oct 2018 15:50:10 +0000 (17:50 +0200)
src/io/source_avcodec.c

index 3631d44..2803990 100644 (file)
@@ -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