summaryrefslogtreecommitdiffstats
path: root/src/VLCInput.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-30 10:10:12 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-30 10:10:12 +0100
commit5df0ca04360c44e00f4734cf7c0b26c9e6bedf80 (patch)
treeb4a94f28bb47fe403141adab1626892ccf631545 /src/VLCInput.cpp
parent1db12b7f6ae74888703dfcaece93df1b8f40d30f (diff)
downloadODR-AudioEnc-5df0ca04360c44e00f4734cf7c0b26c9e6bedf80.tar.gz
ODR-AudioEnc-5df0ca04360c44e00f4734cf7c0b26c9e6bedf80.tar.bz2
ODR-AudioEnc-5df0ca04360c44e00f4734cf7c0b26c9e6bedf80.zip
Fix two issues seen by static analysis
Diffstat (limited to 'src/VLCInput.cpp')
-rw-r--r--src/VLCInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VLCInput.cpp b/src/VLCInput.cpp
index 00d5fa4..dde9a7b 100644
--- a/src/VLCInput.cpp
+++ b/src/VLCInput.cpp
@@ -220,7 +220,7 @@ void VLCInput::exit_cb()
fprintf(stderr, "VLC exit, restarting...\n");
cleanup();
- m_current_buf.empty();
+ m_current_buf.clear();
prepare();
}