summaryrefslogtreecommitdiff
path: root/tools/ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ts.c')
-rw-r--r--tools/ts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ts.c b/tools/ts.c
index 3d3cbeef..f48149e4 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.3 2009-02-05 20:11:10 phintuka Exp $
+ * $Id: ts.c,v 1.4 2009-02-12 16:23:41 rofafor Exp $
*
*/
@@ -90,7 +90,7 @@ int ts_parse_pat(pat_data_t *pat, const uint8_t *pkt)
return 0;
}
- if (pkt - original_pkt > TS_SIZE-4 - 1 - 3 - section_length) {
+ if (pkt - original_pkt > TS_SIZE - 4 - 1 - 3 - (int)section_length) {
LOGMSG("parse_pat: unsupported PAT does not fit to single TS packet");
return 0;
}