mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
mpegtspacketizer: Remove unneeded memset(0)
This commit is contained in:
parent
8b80114101
commit
e25c2e8e74
1 changed files with 0 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue