diff options
Diffstat (limited to 'tools/pes.h')
-rw-r--r-- | tools/pes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/pes.h b/tools/pes.h index 2b733439..7dea61a8 100644 --- a/tools/pes.h +++ b/tools/pes.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: pes.h,v 1.8 2008-12-21 12:10:57 phintuka Exp $ + * $Id: pes.h,v 1.9 2009-02-04 11:04:36 phintuka Exp $ * */ @@ -52,6 +52,9 @@ #define DATA_IS_PES(data) (!(data)[0] && !(data)[1] && (data)[2] == 1) +#define PES_HEADER_LEN(data) (8 + (data)[8] + 1) + + /* * timestamps */ |