Skip to content

Commit

Permalink
remove processed rtp-journal data from buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
hugbug committed May 1, 2020
1 parent 5ecc825 commit 8494140
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rtpMIDI_Parser_JournalSection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ parserReturn decodeJournalSection(RtpBuffer_t &buffer)

if ((flags & RTP_MIDI_JS_FLAG_Y) == 0 && (flags & RTP_MIDI_JS_FLAG_A) == 0)
{
while (minimumLen-- > 0)
buffer.pop_front();
return parserReturn::Processed;
}

Expand Down

0 comments on commit 8494140

Please sign in to comment.