diff options
author | phintuka <phintuka> | 2010-04-16 10:35:53 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-04-16 10:35:53 +0000 |
commit | 68f289db835c7bf41ef10a31ddce80fcf254b702 (patch) | |
tree | 847b13b70e1e7c5316019720c153d7140c17131f | |
parent | 4f18e10a92637655e435d02b67ea914ada51d011 (diff) | |
download | xineliboutput-68f289db835c7bf41ef10a31ddce80fcf254b702.tar.gz xineliboutput-68f289db835c7bf41ef10a31ddce80fcf254b702.tar.bz2 |
Eliminated compiler warnings (Thanks to Winfried Koehler)
-rw-r--r-- | tools/ts.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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; } |