diff options
author | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2014-05-04 00:36:57 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2014-05-04 00:36:57 -0400 |
commit | 148e8f2f815c5060e35840de00daa8eba5b58897 (patch) | |
tree | 86a1a7d45d4fd89948b9e8609fd124c193dda5b5 /gst | |
parent | 89b390d95860eacccdf0686de28c332ff779a16d (diff) | |
download | farstream-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.c | 2 |
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) |