Changeset 376 for libmpc/trunk/include


Ignore:
Timestamp:
12/18/07 23:55:26 (17 years ago)
Author:
r2d
Message:

added LONG_SEEK_TABLE define for a 64 bits long offset in the seek table in libmpcdec. Same change may be done to the encoder.

Location:
libmpc/trunk/include/mpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/include/mpc/mpc_types.h

    r359 r376  
    7373typedef mpc_uint8_t mpc_bool_t;
    7474
     75// #define LONG_SEEK_TABLE
     76#ifdef LONG_SEEK_TABLE  // define as needed (mpc_uint32_t supports files up to 512 MB)
     77typedef mpc_uint64_t mpc_seek_t;
     78#else
     79typedef mpc_uint32_t mpc_seek_t;
     80#endif
     81
    7582# define mpc_int64_min -9223372036854775808ll
    7683# define mpc_int64_max 9223372036854775807ll
  • libmpc/trunk/include/mpc/mpcdec.h

    r291 r376  
    112112mpc_status mpc_demux_seek_sample(mpc_demux * d, mpc_uint64_t destsample);
    113113mpc_status mpc_demux_seek_second(mpc_demux * d, double seconds);
    114 mpc_size_t mpc_demux_pos(mpc_demux * d);
     114mpc_seek_t mpc_demux_pos(mpc_demux * d);
    115115
    116116
Note: See TracChangeset for help on using the changeset viewer.