From 0e381fa183b95c2ed589813a14bda4a49223f9f8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 18 Feb 2016 14:37:05 +0100 Subject: Fix compilation with libvlc --- src/dabplus-enc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp index ecb7141..2a1df77 100644 --- a/src/dabplus-enc.cpp +++ b/src/dabplus-enc.cpp @@ -880,7 +880,7 @@ int main(int argc, char *argv[]) } size_t overruns; - read_bytes = queue.pop(input_buf, input_buf.size(), &overruns); // returns bytes + read_bytes = queue.pop(&input_buf[0], input_buf.size(), &overruns); // returns bytes if (read_bytes != input_buf.size()) { status |= STATUS_UNDERRUN; @@ -893,7 +893,7 @@ int main(int argc, char *argv[]) else { vlc_in = &vlc_in_direct; - read_bytes = vlc_in_direct.read(input_buf, input_buf.size()); + read_bytes = vlc_in_direct.read(&input_buf[0], input_buf.size()); if (read_bytes < 0) { fprintf(stderr, "Detected fault in VLC input!\n"); break; -- cgit v1.2.3