[FFmpeg-cvslog] avutil/tests/audio_fifo.c: Corrected test error messages

Thomas Turner git at videolan.org
Wed Dec 28 17:05:22 EET 2016


ffmpeg | branch: master | Thomas Turner <thomastdt at googlemail.com> | Tue Dec 27 18:43:20 2016 -0800| [d7a3c7427f95bd1ad7e6aa36e23d6d048596a717] | committer: Michael Niedermayer

avutil/tests/audio_fifo.c: Corrected test error messages

Signed-off-by: Thomas Turner <thomastdt at googlemail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d7a3c7427f95bd1ad7e6aa36e23d6d048596a717
---

 libavutil/tests/audio_fifo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/tests/audio_fifo.c b/libavutil/tests/audio_fifo.c
index 34c8573..381f709 100644
--- a/libavutil/tests/audio_fifo.c
+++ b/libavutil/tests/audio_fifo.c
@@ -140,7 +140,7 @@ static void test_function(const TestStruct test_sample)
 
     ret = read_samples_from_audio_fifo(afifo, &output_data, test_sample.nb_samples_pch);
     if (ret < 0){
-        ERROR("ERROR: av_audio_fifo_write failed!");
+        ERROR("ERROR: av_audio_fifo_read failed!");
     }
     printf("read: %d\n", ret);
     print_audio_bytes(&test_sample, output_data, ret);
@@ -160,7 +160,7 @@ static void test_function(const TestStruct test_sample)
     for (i = 0; i < afifo->nb_samples; ++i){
         ret = av_audio_fifo_peek_at(afifo, output_data, 1, i);
         if (ret < 0){
-            ERROR("ERROR: av_audio_fifo_peek failed!");
+            ERROR("ERROR: av_audio_fifo_peek_at failed!");
         }
         printf("%d:\n", i);
         print_audio_bytes(&test_sample, output_data, ret);



More information about the ffmpeg-cvslog mailing list