diff --git a/ChangeLog b/ChangeLog index 38a9b86ce2..6dc15a5e1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-11-27 Wim Taymans + + Patch by: Jayarama S. Santana + + * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_process): + Fix wrong comparison in overrun check. Fixes #499239 some more. + 2007-11-27 Edward Hervey * gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_init), diff --git a/gst/rtp/gstrtpmp4adepay.c b/gst/rtp/gstrtpmp4adepay.c index f3be6062e7..e5f24a0acf 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,