diff options
author | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-03-23 13:26:59 +0100 |
---|---|---|
committer | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-03-23 13:26:59 +0100 |
commit | cfd3e90270e7a54da32665374c7b8cddce826efa (patch) | |
tree | 9fa4df05b4bc3d4ef06ac0cea7f66a62d5aee724 /src/VLCInput.cpp | |
parent | 3ca763faf015958b8aed212efabbfac128adccee (diff) | |
download | ODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.tar.gz ODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.tar.bz2 ODR-AudioEnc-cfd3e90270e7a54da32665374c7b8cddce826efa.zip |
The -c option should also work for libvlc input
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r-- | src/VLCInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp index 99f86f1..1c84a50 100644 --- a/src/VLCInput.cpp +++ b/src/VLCInput.cpp @@ -56,7 +56,7 @@ void handleStream( { VLCInput* in = (VLCInput*)p_audio_data; - assert(channels == 2); + assert(channels == m_channels); assert(rate == in->getRate()); assert(bits_per_sample == 8*BYTES_PER_SAMPLE); |