summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@ocrete.ca>2014-05-04 00:36:57 -0400
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2014-05-04 00:36:57 -0400
commit148e8f2f815c5060e35840de00daa8eba5b58897 (patch)
tree86a1a7d45d4fd89948b9e8609fd124c193dda5b5 /gst
parent89b390d95860eacccdf0686de28c332ff779a16d (diff)
downloadfarstream-148e8f2f815c5060e35840de00daa8eba5b58897.tar.gz
rtptfrc: Fix off by one error
128 is dynamic and needs checking
Diffstat (limited to 'gst')
-rw-r--r--gst/fsrtpconference/fs-rtp-tfrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/fsrtpconference/fs-rtp-tfrc.c b/gst/fsrtpconference/fs-rtp-tfrc.c
index 7cda169b..11aa6b1b 100644
--- a/gst/fsrtpconference/fs-rtp-tfrc.c
+++ b/gst/fsrtpconference/fs-rtp-tfrc.c
@@ -664,7 +664,7 @@ incoming_rtp_probe (GstPad *pad, GstPadProbeInfo *info, gpointer user_data)
pt = gst_rtp_buffer_get_payload_type (&rtpbuffer);
seq = gst_rtp_buffer_get_seq (&rtpbuffer);
- if (pt > 128 || !self->pts[pt])
+ if (pt >= 128 || !self->pts[pt])
goto out_no_header_unmap;
if (self->extension_type == EXTENSION_NONE)