diff options
-rw-r--r-- | src/dabplus-enc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |