summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/mpeg2sub/gstmpeg2subt.c2
-rw-r--r--gst/rtjpeg/RTjpeg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c
index c98d9bee..1774b13e 100644
--- a/gst/mpeg2sub/gstmpeg2subt.c
+++ b/gst/mpeg2sub/gstmpeg2subt.c
@@ -370,7 +370,7 @@ gst_mpeg2subt_chain_subtitle (GstPad *pad, GstData *_data)
/* deal with partial frame from previous buffer */
if (mpeg2subt->partialbuf) {
- mpeg2subt->partialbuf = gst_buffer_merge(mpeg2subt->partialbuf, buf);;
+ mpeg2subt->partialbuf = gst_buffer_merge(mpeg2subt->partialbuf, buf);
/* and the one we received.. */
gst_buffer_unref(buf);
}
diff --git a/gst/rtjpeg/RTjpeg.c b/gst/rtjpeg/RTjpeg.c
index e246b6bf..ab87fcc7 100644
--- a/gst/rtjpeg/RTjpeg.c
+++ b/gst/rtjpeg/RTjpeg.c
@@ -2807,7 +2807,7 @@ void RTjpeg_init_mcompress(void)
fprintf(stderr, "RTjpeg: Could not allocate memory\n");
exit(-1);
}
- bzero(RTjpeg_old, ((4*RTjpeg_width*RTjpeg_height)));
+ memset (RTjpeg_old, 0, ((4*RTjpeg_width*RTjpeg_height)));
}
#ifdef HAVE_LIBMMX