projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46473ac
)
mpegtspacketizer: simplify variable reset
author
Thiago Santos
<thiagoss@osg.samsung.com>
Thu, 3 Mar 2016 14:31:01 +0000
(11:31 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Thu, 24 Mar 2016 14:06:55 +0000
(11:06 -0300)
Just set it directly to 0, instead of checking and reseting
gst/mpegtsdemux/mpegtspacketizer.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsdemux/mpegtspacketizer.c
b/gst/mpegtsdemux/mpegtspacketizer.c
index db3b7417dba1b3fd15716cc3be8435b6057b4c76..a7e079880c56769a3ae20ec529c28f57082fbf91 100644
(file)
--- a/
gst/mpegtsdemux/mpegtspacketizer.c
+++ b/
gst/mpegtsdemux/mpegtspacketizer.c
@@
-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;