From f2590cff84394d1385acf41a5f2c09994482c1a5 Mon Sep 17 00:00:00 2001 From: rofafor Date: Thu, 12 Feb 2009 16:23:41 +0000 Subject: Cosmetics. Added a note about VDPAU. --- tools/ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/ts.c') 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; } -- cgit v1.2.3