Commit ae6cf31b authored by Jayarama S. Santana's avatar Jayarama S. Santana Committed by Wim Taymans
Browse files

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.
parent a7b160d8
2007-11-27 Wim Taymans <wim.taymans@gmail.com>
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.
2007-11-27 Edward Hervey <bilboed@bilboed.com>
 
* gst/rtp/gstrtph263depay.c: (gst_rtp_h263_depay_init),
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment