aboutsummaryrefslogtreecommitdiffstats
path: root/src/byte_stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/byte_stream.cpp')
-rw-r--r--src/byte_stream.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/byte_stream.cpp b/src/byte_stream.cpp
index d43bc07..81ca200 100644
--- a/src/byte_stream.cpp
+++ b/src/byte_stream.cpp
@@ -467,9 +467,7 @@ void ByteInStream_Recorder::close() noexcept {
}
void ByteInStream_Recorder::start_recording() noexcept {
- if( is_recording() ) {
- m_buffer.resize(0);
- }
+ m_buffer.resize(0);
m_rec_offset = m_bytes_consumed;
m_is_recording = true;
}