shithub: aubio

Download patch

ref: d4927c2459db577f54a91aa9c928c75642568cce
parent: ebfa80dfa72016ed0ed76e1a0a56c83e2c8c988c
author: Paul Brossier <piem@piem.org>
date: Thu Dec 20 17:08:58 EST 2018

[source_avcodec] fix warning messages

--- a/src/io/source_avcodec.c
+++ b/src/io/source_avcodec.c
@@ -525,9 +525,9 @@
   uint_t i,j;
   uint_t end = 0;
   uint_t total_wrote = 0;
-  uint_t length = aubio_source_validate_input_length("source_wavread", s->path,
+  uint_t length = aubio_source_validate_input_length("source_avcodec", s->path,
       s->hop_size, read_data->length);
-  uint_t channels = aubio_source_validate_input_channels("source_wavread",
+  uint_t channels = aubio_source_validate_input_channels("source_avcodec",
       s->path, s->input_channels, read_data->height);
   while (total_wrote < length) {
     end = MIN(s->read_samples - s->read_index, length - total_wrote);