diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-23 13:52:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-23 13:52:39 +0100 |
commit | 202f869e1a2ec0da5940c25e5ff24d5c34002421 (patch) | |
tree | 45dce61fb796a28d26243a25d4be1ecec2e08d22 /src | |
parent | cfd3e90270e7a54da32665374c7b8cddce826efa (diff) | |
download | fdk-aac-dabplus-202f869e1a2ec0da5940c25e5ff24d5c34002421.tar.gz fdk-aac-dabplus-202f869e1a2ec0da5940c25e5ff24d5c34002421.tar.bz2 fdk-aac-dabplus-202f869e1a2ec0da5940c25e5ff24d5c34002421.zip |
Fix compilation error
Diffstat (limited to 'src')
-rw-r--r-- | src/VLCInput.cpp | 2 | ||||
-rw-r--r-- | src/VLCInput.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 1c84a50..54f71d2 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -56,7 +56,7 @@ void handleStream( { VLCInput* in = (VLCInput*)p_audio_data; - assert(channels == m_channels); + assert(channels == in->getChannels()); assert(rate == in->getRate()); assert(bits_per_sample == 8*BYTES_PER_SAMPLE); diff --git a/src/VLCInput.h b/src/VLCInput.h index f9cf783..e4a0557 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -83,6 +83,8 @@ class VLCInput int getRate() { return m_rate; } + int getChannels() { return m_channels; } + protected: void cleanup(void); |