From c5df7ce6c05e6187f4ccf6c8c66f617cbe9c528e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 29 Mar 2015 16:51:04 +0200 Subject: Move VLC error message --- src/dabplus-enc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp index 806f68b..f172c24 100644 --- a/src/dabplus-enc.cpp +++ b/src/dabplus-enc.cpp @@ -723,8 +723,8 @@ int main(int argc, char *argv[]) #if HAVE_VLC else if (vlc_uri != "") { read = vlc_in.read(input_buf, input_size); - fprintf(stderr, "Detected fault in VLC input!\n"); if (read < 0) { + fprintf(stderr, "Detected fault in VLC input!\n"); break; } else if (read != input_size) { -- cgit v1.2.3