mpegtspacketizer: Remove unneeded memset(0)

This commit is contained in:
Edward Hervey 2012-07-13 16:22:27 +02:00
parent 8b80114101
commit e25c2e8e74

View 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)) {