Mercurial > libdvdnav.hg
annotate remap.h @ 431:fef53ca48541 src
Let dvdnav_describe_title_chapters() skip PGCs with missing cells.
Fixes segfaults with a rip of Ghost Protocol.
Patch by Fabian Keil #fk$fabiankeil%de^
author | rathann |
---|---|
date | Thu, 03 Oct 2013 23:15:54 +0000 |
parents | 0a5a6f03b029 |
children |
rev | line source |
---|---|
388 | 1 /* |
114 | 2 * This file is part of libdvdnav, a DVD navigation library. |
388 | 3 * |
114 | 4 * libdvdnav is free software; you can redistribute it and/or modify |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
388 | 8 * |
114 | 9 * libdvdnav is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
388 | 13 * |
389
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
15 * with libdvdnav; if not, write to the Free Software Foundation, Inc., |
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
114 | 17 */ |
18 | |
391 | 19 #ifndef LIBDVDNAV_REMAP_H |
20 #define LIBDVDNAV_REMAP_H | |
96
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
21 typedef struct block_s block_t; |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
22 |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
23 typedef struct remap_s remap_t; |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
24 |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
25 remap_t* remap_loadmap( char *title); |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
26 |
388 | 27 unsigned long remap_block( |
28 remap_t *map, int domain, int title, int program, | |
96
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
29 unsigned long cblock, unsigned long offset); |
2fcb4f228308
Adding "Personalizing DVD Viewing" files from <kevin_smathers@hp.com>
jcdutton
parents:
diff
changeset
|
30 |
391 | 31 #endif /* LIBDVDNAV_REMAP_H */ |