diff options
Diffstat (limited to 'tools/ts.c')
-rw-r--r-- | tools/ts.c | 4 |
1 files changed, 2 insertions, 2 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.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; } |