Changeset 6f2075625a179e89493a24e7c6c7bde099f67925

Show
Ignore:
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
  • modules/access/vcd/vcd.c

    rd3c3b32 r6f20756  
    33 ***************************************************************************** 
    44 * 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 $ 
    66 * 
    77 * Author: Johan Bilien <jobi@via.ecp.fr> 
     
    236236 
    237237        /* 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 */ 
    239239        area[i]->i_part = 1; 
    240240 
     
    250250    if( VCDEntryPoints( p_input ) < 0 ) 
    251251    { 
    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" ); 
    253253        p_vcd->b_valid_ep = 0; 
    254254    } 
     
    523523    p_vcd->i_entries_nb = 0; 
    524524 
    525 #define i_track entries.entry[i].i_track 
     525#define i_track BCD_TO_BIN( entries.entry[i].i_track ) 
    526526    for( i = 0 ; i < i_nb ; i++ ) 
    527527    {