summaryrefslogtreecommitdiff
path: root/libavutil/tests
diff options
context:
space:
mode:
authorThomas Turner <thomastdt@googlemail.com>2016-12-27 18:43:20 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2016-12-28 16:04:59 +0100
commitd7a3c7427f95bd1ad7e6aa36e23d6d048596a717 (patch)
tree2ded2b362e2725a0a07ad881e31d0b57283e0ca0 /libavutil/tests
parentf31708002464c273b8f2c48a46e00437702afab9 (diff)
avutil/tests/audio_fifo.c: Corrected test error messages
Signed-off-by: Thomas Turner <thomastdt@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/audio_fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/tests/audio_fifo.c b/libavutil/tests/audio_fifo.c
index 34c8573149..381f709b2b 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);