mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
mpegtspacketizer: simplify variable reset
Just set it directly to 0, instead of checking and reseting
This commit is contained in:
parent
46473ac287
commit
f8cad7d755
1 changed files with 1 additions and 2 deletions
|
@ -558,8 +558,7 @@ mpegts_packetizer_clear (MpegTSPacketizer2 * packetizer)
|
|||
{
|
||||
guint i;
|
||||
|
||||
if (packetizer->packet_size)
|
||||
packetizer->packet_size = 0;
|
||||
packetizer->packet_size = 0;
|
||||
|
||||
if (packetizer->streams) {
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue