From 67770cc4d33675cab124d4f818ef9b934399ac75 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Thu, 9 Dec 2010 22:33:41 +0100 Subject: [PATCH 1/2] Use portable 'g_snprintf' instead of 'snprintf' --- gst/fsrtpconference/fs-rtp-codec-specific.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gst/fsrtpconference/fs-rtp-codec-specific.c b/gst/fsrtpconference/fs-rtp-codec-specific.c index 2a73fb1..e3827e5 100644 --- a/gst/fsrtpconference/fs-rtp-codec-specific.c +++ b/gst/fsrtpconference/fs-rtp-codec-specific.c @@ -1481,7 +1481,7 @@ param_h264_profile_level_id (const struct SdpParam *sdp_param, local_level_idc = 0xFF & local_value; nego_level_idc = MIN (remote_level_idc, local_level_idc); - snprintf (buf, 7, "%02hhX%02hhX%02hhX", local_profile_idc, nego_profile_iop, + g_snprintf (buf, 7, "%02hhX%02hhX%02hhX", local_profile_idc, nego_profile_iop, nego_level_idc); fs_codec_add_optional_parameter (negotiated_codec, sdp_param->name, buf); -- 1.7.0.2.msysgit.0