Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/apps/ojph_stream_expand/stream_expand_support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ rtp_packet* packets_handler::exchange(rtp_packet* p)
assert(num_packets > 0 && p == in_use);

if (p != NULL) {
if (p->num_bytes == 0)
// ignore packets that are too short to hold the 12-byte RTP header
// and the 8-byte payload header
if (p->num_bytes < 20)
return p;

if (last_seq_num == 0) // initialization
Expand Down
Loading