From 5df0ca04360c44e00f4734cf7c0b26c9e6bedf80 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 30 Dec 2015 10:10:12 +0100 Subject: Fix two issues seen by static analysis --- src/VLCInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/VLCInput.cpp') 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(); } -- cgit v1.2.3