Changeset 6f2075625a179e89493a24e7c6c7bde099f67925
- Timestamp:
- 12/02/03 17:58:11
(6 years ago)
- Author:
- Johan Bilien <jobi@videolan.org>
- git-committer:
- Johan Bilien <jobi@videolan.org> 1045069091 +0000
- git-parent:
[e27abe75a1d2017799af345709d0db0bcb172a36]
- git-author:
- Johan Bilien <jobi@videolan.org> 1045069091 +0000
- Message:
- modules/access/vcd/vcd.c: in entry points, track number should be read
as BCD (it should fix #244). Also fixed chapter indexing, so that it
correspond to the dvd one.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd3c3b32 |
r6f20756 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2000 VideoLAN |
|---|
| 5 | | * $Id: vcd.c,v 1.13 2002/12/31 01:54:36 massiot Exp $ |
|---|
| | 5 | * $Id: vcd.c,v 1.14 2003/02/12 16:58:11 jobi Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Author: Johan Bilien <jobi@via.ecp.fr> |
|---|
| … | … | |
| 236 | 236 | |
|---|
| 237 | 237 | /* Number of chapters */ |
|---|
| 238 | | area[i]->i_part_nb = 0; /* will be the entry points */ |
|---|
| | 238 | area[i]->i_part_nb = 1; /* will be the entry points */ |
|---|
| 239 | 239 | area[i]->i_part = 1; |
|---|
| 240 | 240 | |
|---|
| … | … | |
| 250 | 250 | if( VCDEntryPoints( p_input ) < 0 ) |
|---|
| 251 | 251 | { |
|---|
| 252 | | msg_Warn( p_input, "could read entry points, will not use them" ); |
|---|
| | 252 | msg_Warn( p_input, "could not read entry points, will not use them" ); |
|---|
| 253 | 253 | p_vcd->b_valid_ep = 0; |
|---|
| 254 | 254 | } |
|---|
| … | … | |
| 523 | 523 | p_vcd->i_entries_nb = 0; |
|---|
| 524 | 524 | |
|---|
| 525 | | #define i_track entries.entry[i].i_track |
|---|
| | 525 | #define i_track BCD_TO_BIN( entries.entry[i].i_track ) |
|---|
| 526 | 526 | for( i = 0 ; i < i_nb ; i++ ) |
|---|
| 527 | 527 | { |
|---|