From: Alessandro Decina Date: Fri, 19 Nov 2010 17:51:32 +0000 (+0100) Subject: mpegtsparse: fix compiler warning X-Git-Tag: 1.19.3~507^2~16167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b005ed21977b262c09ba674e7245db8e728f14b6;p=platform%2Fupstream%2Fgstreamer.git mpegtsparse: fix compiler warning --- diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c index 18c7616..f472c22 100644 --- 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) {