Mercurial > mplayer.hg
annotate libmpdvdkit2/nav_read.h @ 18049:77a3b0d11ca5
Limit the number of entires to the amount that does fit into the chunk.
the function need rewrite as it assumes quite many things that are not guaranteed by the specifications.
author | iive |
---|---|
date | Thu, 06 Apr 2006 20:04:02 +0000 |
parents | 483e955893b8 |
children | 0783dd397f74 |
rev | line source |
---|---|
7029 | 1 #ifndef NAV_READ_H_INCLUDED |
2 #define NAV_READ_H_INCLUDED | |
3 | |
4 /* | |
15874 | 5 * Copyright (C) 2000, 2001, 2002 Håkan Hjort <d95hjort@dtek.chalmers.se>. |
7029 | 6 * |
14938
25df9508f9a8
Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents:
7033
diff
changeset
|
7 * Modified for use with MPlayer, changes contained in libdvdread_changes.diff. |
25df9508f9a8
Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents:
7033
diff
changeset
|
8 * detailed CVS changelog at http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ |
25df9508f9a8
Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents:
7033
diff
changeset
|
9 * $Id$ |
25df9508f9a8
Mark modified files as such to comply more closely with GPL ¡ø2a.
diego
parents:
7033
diff
changeset
|
10 * |
7029 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 | |
7033 | 26 #include "nav_types.h" |
7029 | 27 |
15874 | 28 /** |
29 * Parsing of NAV data, PCI and DSI parts. | |
30 */ | |
31 | |
7029 | 32 #ifdef __cplusplus |
33 extern "C" { | |
34 #endif | |
35 | |
36 /** | |
15874 | 37 * Reads the PCI packet data pointed to into th pci struct. |
38 * | |
39 * @param pci Pointer to the PCI data structure to be filled in. | |
40 * @param bufffer Pointer to the buffer of the on disc PCI data. | |
41 */ | |
7029 | 42 void navRead_PCI(pci_t *, unsigned char *); |
43 | |
44 /** | |
45 * Reads the DSI packet data pointed to into dsi struct. | |
15874 | 46 * |
47 * @param dsi Pointer to the DSI data structure to be filled in. | |
48 * @param bufffer Pointer to the buffer of the on disc DSI data. | |
7029 | 49 */ |
50 void navRead_DSI(dsi_t *, unsigned char *); | |
51 | |
52 #ifdef __cplusplus | |
53 }; | |
54 #endif | |
55 #endif /* NAV_READ_H_INCLUDED */ |