shithub: aubio

Download patch

ref: 3e944fe4401c4d77691eb0952eea5d66a003e06f
parent: 657a20a1d617d4749801cf58039163e01f1af772
author: Paul Brossier <piem@piem.org>
date: Sat Mar 25 07:47:27 EDT 2017

src/io/source_avcodec.c: hide EAGAIN warning, skip to next frame immediately

--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -374,7 +374,8 @@
   }
   if (ret < 0) {
     if (ret == AVERROR(EAGAIN)) {
-      AUBIO_WRN("source_avcodec: output is not available right now - user must try to send new input\n");
+      //AUBIO_WRN("source_avcodec: output is not available right now - user must try to send new input\n");
+      goto beach;
     } else if (ret == AVERROR_EOF) {
       AUBIO_WRN("source_avcodec: the decoder has been fully flushed, and there will be no more output frames\n");
     } else {