mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when trying to print sps and pps strings t...
Original commit message from CVS: * gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps): Use GST_STR_NULL when trying to print sps and pps strings that could be NULL, as this might crash on some platforms.
This commit is contained in:
parent
acb8ba648d
commit
47056ccbcb
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
|
||||
|
||||
* gst/rtp/gstrtph264pay.c (gst_rtp_h264_pay_parse_sps_pps):
|
||||
Use GST_STR_NULL when trying to print sps and pps strings that could
|
||||
be NULL, as this might crash on some platforms.
|
||||
|
||||
2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
|
||||
|
||||
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
|
||||
|
|
|
@ -512,7 +512,7 @@ gst_rtp_h264_pay_parse_sps_pps (GstBaseRTPPayload * basepayload,
|
|||
"sprop-parameter-sets", G_TYPE_STRING, sprops, NULL);
|
||||
|
||||
GST_DEBUG ("outcaps udpate: profile=%s, sps=%s, pps=%s\n",
|
||||
profile, sps, pps);
|
||||
profile, GST_STR_NULL (sps), GST_STR_NULL (pps));
|
||||
|
||||
g_free (sprops);
|
||||
g_free (profile);
|
||||
|
|
Loading…
Reference in a new issue