hdv1394src: Don't use void * pointer arithmetic
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 22 Feb 2009 11:41:53 +0000 (12:41 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 22 Feb 2009 11:41:53 +0000 (12:41 +0100)
ext/raw1394/gsthdv1394src.c

index cbb0213..30f59d5 100644 (file)
@@ -317,7 +317,7 @@ gst_hdv1394src_iec61883_receive (unsigned char *data, int len,
     return -1;
 
   if (len == IEC61883_MPEG2_TSP_SIZE) {
-    memcpy (dv1394src->outdata + dv1394src->outoffset, data, len);
+    memcpy ((guint8 *) dv1394src->outdata + dv1394src->outoffset, data, len);
     dv1394src->outoffset += len;
   }
   dv1394src->frame_sequence++;