diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-02-18 14:37:05 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-02-18 14:37:05 +0100 |
commit | 0e381fa183b95c2ed589813a14bda4a49223f9f8 (patch) | |
tree | 477536a44101d7ca6d8b22c1ae864282a190b886 /src | |
parent | 8700b572a516252a47b47cf50de5501af851f2ee (diff) | |
download | ODR-AudioEnc-0e381fa183b95c2ed589813a14bda4a49223f9f8.tar.gz ODR-AudioEnc-0e381fa183b95c2ed589813a14bda4a49223f9f8.tar.bz2 ODR-AudioEnc-0e381fa183b95c2ed589813a14bda4a49223f9f8.zip |
Fix compilation with libvlc
Diffstat (limited to 'src')
-rw-r--r-- | src/dabplus-enc.cpp | 4 |
1 files 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; |