From 618c88a6e3c594b8382b4c61710a968c6adcdf49 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 3 Mar 2018 18:03:17 +0100 Subject: Output YAML --- src/etiinput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/etiinput.cpp') diff --git a/src/etiinput.cpp b/src/etiinput.cpp index 8f47ec0..22e6cd6 100644 --- a/src/etiinput.cpp +++ b/src/etiinput.cpp @@ -180,7 +180,7 @@ int get_eti_frame(FILE* inputfile, int stream_type, void* buf) } if (frameSize > 6144) { // there might be a better limit - printf("Wrong frame size %u in ETI file!\n", frameSize); + fprintf(stderr, "Wrong frame size %u in ETI file!\n", frameSize); return -1; } @@ -188,7 +188,7 @@ int get_eti_frame(FILE* inputfile, int stream_type, void* buf) if (read_bytes != frameSize) { // A short read of a frame (i.e. reading an incomplete frame) // is not tolerated. Input files must not contain incomplete frames - printf("Incomplete frame in ETI file!\n"); + fprintf(stderr, "Incomplete frame in ETI file!\n"); return -1; } -- cgit v1.2.3