summaryrefslogtreecommitdiffstats
path: root/gst/rtp
diff options
context:
space:
mode:
authorOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>2008-05-07 16:36:04 +0000
committerOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>2008-05-07 16:36:04 +0000
commit47056ccbcb9ead26540238c269ed3cf175cb4957 (patch)
treea9b7c1e8883045e55ab7e3c25b9f3f6cec253dd3 /gst/rtp
parentacb8ba648dd290f439170f558d805951fd303ec8 (diff)
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.
Diffstat (limited to 'gst/rtp')
-rw-r--r--gst/rtp/gstrtph264pay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c
index ce806d94..9938ed7b 100644
--- a/gst/rtp/gstrtph264pay.c
+++ b/gst/rtp/gstrtph264pay.c
@@ -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);