summaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-18 14:37:05 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-18 14:37:05 +0100
commit0e381fa183b95c2ed589813a14bda4a49223f9f8 (patch)
tree477536a44101d7ca6d8b22c1ae864282a190b886 /src/dabplus-enc.cpp
parent8700b572a516252a47b47cf50de5501af851f2ee (diff)
downloadfdk-aac-dabplus-0e381fa183b95c2ed589813a14bda4a49223f9f8.tar.gz
fdk-aac-dabplus-0e381fa183b95c2ed589813a14bda4a49223f9f8.tar.bz2
fdk-aac-dabplus-0e381fa183b95c2ed589813a14bda4a49223f9f8.zip
Fix compilation with libvlc
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r--src/dabplus-enc.cpp4
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;