summaryrefslogtreecommitdiffstats
path: root/gst/y4m/gsty4mencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/y4m/gsty4mencode.c')
-rw-r--r--gst/y4m/gsty4mencode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c
index f70f101a..8560ff86 100644
--- a/gst/y4m/gsty4mencode.c
+++ b/gst/y4m/gsty4mencode.c
@@ -213,9 +213,9 @@ gst_y4mencode_chain (GstPad * pad, GstData * _data)
header = "FRAME\n";
}
- snprintf (GST_BUFFER_DATA (outbuf), 255, header,
+ g_snprintf ((gchar *) GST_BUFFER_DATA (outbuf), 255, header,
filter->width, filter->height, filter->fps_idx);
- len = strlen (GST_BUFFER_DATA (outbuf));
+ len = strlen ((gchar *) GST_BUFFER_DATA (outbuf));
memcpy (GST_BUFFER_DATA (outbuf) + len, GST_BUFFER_DATA (buf),
GST_BUFFER_SIZE (buf));