mpegtspacketizer: simplify variable reset

Just set it directly to 0, instead of checking and reseting
This commit is contained in:
Thiago Santos 2016-03-03 11:31:01 -03:00
parent 46473ac287
commit f8cad7d755

View file

@ -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;