mpegtspacketizer: Remove unneeded memset(0)
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 13 Jul 2012 14:22:27 +0000 (16:22 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 14 Aug 2012 17:07:28 +0000 (19:07 +0200)
gst/mpegtsdemux/mpegtspacketizer.c

index 8e1c5b4d7cf827a5c69a84d4a6565d438f701916..f05e1c6eb4619e21e904550dfce420333c57c271 100644 (file)
@@ -2698,7 +2698,6 @@ void
 mpegts_packetizer_clear_packet (MpegTSPacketizer2 * packetizer,
     MpegTSPacketizerPacket * packet)
 {
-  memset (packet, 0, sizeof (MpegTSPacketizerPacket));
   packetizer->priv->offset += packetizer->packet_size;
   packetizer->priv->available -= packetizer->packet_size;
   if (G_UNLIKELY (packetizer->priv->available < packetizer->packet_size)) {