From b005ed21977b262c09ba674e7245db8e728f14b6 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Fri, 19 Nov 2010 18:51:32 +0100 Subject: [PATCH] mpegtsparse: fix compiler warning --- gst/mpegdemux/mpegtsparse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) { -- 2.7.4