diff options
author | Jayarama S. Santana <sundarsantana@gmail.com> | 2007-11-27 11:11:08 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-11-27 11:11:08 +0000 |
commit | ae6cf31baf75ba39774ad72d448e739f5f5f57d9 (patch) | |
tree | af5231f2e0582353166dbd387bc6bcaa4e8a58cf /gst/rtp/gstrtpmp4adepay.c | |
parent | a7b160d8b1427887773437479084cf4af5ac036a (diff) |
gst/rtp/gstrtpmp4adepay.c: Fix wrong comparison in overrun check. Fixes #499239 some more.
Original commit message from CVS:
Patch by: Jayarama S. Santana <sundarsantana at gmail dot com>
* gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_process):
Fix wrong comparison in overrun check. Fixes #499239 some more.
Diffstat (limited to 'gst/rtp/gstrtpmp4adepay.c')
-rw-r--r-- | gst/rtp/gstrtpmp4adepay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c index f3be6062..e5f24a0a 100644 --- a/gst/rtp/gstrtpmp4adepay.c +++ b/gst/rtp/gstrtpmp4adepay.c @@ -302,7 +302,7 @@ gst_rtp_mp4a_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf) /* this can not be possible, we have not enough data or the length * decoding failed because we ran out of data. */ - if (skip + data_len < avail) + if (skip + data_len > avail) goto wrong_size; GST_LOG_OBJECT (rtpmp4adepay, |