diff options
author | phintuka <phintuka> | 2009-02-04 11:04:36 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-02-04 11:04:36 +0000 |
commit | 909360edfbb3743dd6893fd949ea3d6462bae294 (patch) | |
tree | d3ebd90b5811bf6556b5e8da02d677c58cd110e2 | |
parent | de94d39f5381ab75b8a27e22b9984e47ed82d023 (diff) | |
download | xineliboutput-909360edfbb3743dd6893fd949ea3d6462bae294.tar.gz xineliboutput-909360edfbb3743dd6893fd949ea3d6462bae294.tar.bz2 |
Added PES_HEADER_LEN()
-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 */ |