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:
fb9234d
)
mpegtsparse: fix compiler warning
author
Alessandro Decina
<alessandro.d@gmail.com>
Fri, 19 Nov 2010 17:51:32 +0000
(18:51 +0100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Fri, 19 Nov 2010 17:51:32 +0000
(18:51 +0100)
gst/mpegdemux/mpegtsparse.c
patch
|
blob
|
history
diff --git
a/gst/mpegdemux/mpegtsparse.c
b/gst/mpegdemux/mpegtsparse.c
index
18c7616
..
f472c22
100644
(file)
--- a/
gst/mpegdemux/mpegtsparse.c
+++ b/
gst/mpegdemux/mpegtsparse.c
@@
-1262,9
+1262,7
@@
mpegts_parse_get_tags_from_sdt (MpegTSParse * parse, GstStructure * sdt_info)
* which looks like service-%d */
sid_str = gst_structure_get_name (service);
tmp = g_strstr_len (sid_str, -1, "-");
- if (tmp) {
- program_number = atoi (++tmp);
- }
+ program_number = atoi (++tmp);
program = mpegts_parse_get_program (parse, program_number);
if (program && program->tspad && !program->tspad->tags) {