aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-29 16:51:04 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-29 16:51:04 +0200
commitc5df7ce6c05e6187f4ccf6c8c66f617cbe9c528e (patch)
tree8c581c181bddda2b87db709df7effd6844b069eb
parenta854328342bf1f40bf1261199aca80b25de8b1b0 (diff)
downloadODR-AudioEnc-c5df7ce6c05e6187f4ccf6c8c66f617cbe9c528e.tar.gz
ODR-AudioEnc-c5df7ce6c05e6187f4ccf6c8c66f617cbe9c528e.tar.bz2
ODR-AudioEnc-c5df7ce6c05e6187f4ccf6c8c66f617cbe9c528e.zip
Move VLC error message
-rw-r--r--src/dabplus-enc.cpp2
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) {