GNOME Bugzilla – Bug 499239
gstrtpmp4adepay
Last modified: 2007-11-27 11:11:18 UTC
When more than a frame is multiplexed inside an audio packet, the plugin doesn't work properly.
Created attachment 99554 [details] [review] Patch to solve the problem
I changed it a little bit so that it is smaller and does better bounds checking. Please retest as I could not find an example stream (tested with subframe == 0). Based on Path by: Jayarama S. Santana <sundarsantana at gmail dot com> * gst/rtp/gstrtpmp4adepay.c: (gst_rtp_mp4a_depay_setcaps), (gst_rtp_mp4a_depay_process): * gst/rtp/gstrtpmp4adepay.h: Fix depayloading when multiple frames are inside one RTP packet. Fixes #499239.
Created attachment 99684 [details] [review] Patch Patch
There is a small mistake (one changed inequality) which is preventing the audio from being decoded when more than one frame is multiplexed. I'm attaching a patch with the correction.
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.