After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 447210 - wrong length calculation for codec_data
wrong length calculation for codec_data
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.5
Other Linux
: Normal blocker
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-13 16:39 UTC by Wim Taymans
Modified: 2007-06-13 17:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the problem (928 bytes, patch)
2007-06-13 16:39 UTC, Wim Taymans
committed Details | Review

Description Wim Taymans 2007-06-13 16:39:03 UTC
gstrtph264depay does not include the length of the sync bytes it's going to add when calculating the length of the codec_data.
Comment 1 Wim Taymans 2007-06-13 16:39:56 UTC
Created attachment 89890 [details] [review]
patch to fix the problem

patch to fix the problem
Comment 2 Edward Hervey 2007-06-13 16:43:17 UTC
confirmed
Comment 3 Wim Taymans 2007-06-13 17:11:41 UTC
        * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_setcaps):
        Make sure we allocate enough memory for the codec_data.
        Fixes #447210.