From 68f289db835c7bf41ef10a31ddce80fcf254b702 Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 16 Apr 2010 10:35:53 +0000 Subject: Eliminated compiler warnings (Thanks to Winfried Koehler) --- tools/ts.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/ts.c b/tools/ts.c index 0c69ff19..b4130883 100644 --- a/tools/ts.c +++ b/tools/ts.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: ts.c,v 1.22 2010-03-23 06:20:12 rofafor Exp $ + * $Id: ts.c,v 1.23 2010-04-16 10:35:53 phintuka Exp $ * */ @@ -454,11 +454,12 @@ int ts_parse_pmt (pmt_data_t *pmt, uint program_no, const uint8_t *pkt) pid = ((pmt->pmt[8] << 8) | pmt->pmt[9]) & 0x1fff; if (pmt->pcr_pid != pid) { - if (pmt->pcr_pid == INVALID_PID) + if (pmt->pcr_pid == INVALID_PID) { LOGPMT("parse_pmt: pcr pid 0x%.4x", pid); - else + } + else { LOGPMT("parse_pmt: pcr pid changed 0x%.4x", pid); - + } pmt->pcr_pid = pid; } -- cgit v1.2.3