Ignore:
Timestamp:
10/02/06 20:41:38 (18 years ago)
Author:
r2d
Message:
  • mppenc can be compiled *but* doesn't work (segfault)
  • some variables are not initialized in the libs structs - TO BE FIXED
  • I have duplicated some (one ?) variables in the libs structs and the dup variables in libmpcenc are not used (and not initialized) - TO BE FIXED
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/libmpcenc/bitstream.c

    r64 r65  
    125125
    126126
    127 void WriteBits (mpc_encoder * e, const mpc_uint32_t input, const unsigned int bits )
     127void WriteBits (mpc_encoder_t * e, const mpc_uint32_t input, const unsigned int bits )
    128128{
    129129    e->BufferedBits += bits;
     
    147147// Bits in the original stream have to be 0, maximum X bits allowed to be set in input
    148148// Actual bitstream must have already written ptr[0] and ptr[1]
    149 void WriteBitsAt (mpc_encoder * e, const mpc_uint32_t input, const unsigned int bits, BitstreamPos const pos )
     149void WriteBitsAt (mpc_encoder_t * e, const mpc_uint32_t input, const unsigned int bits, BitstreamPos const pos )
    150150{
    151151    mpc_uint32_t*     ptr    = pos.ptr;
     
    171171
    172172
    173 void GetBitstreamPos (mpc_encoder * e, BitstreamPos* const pos )
     173void GetBitstreamPos (mpc_encoder_t * e, BitstreamPos* const pos )
    174174{
    175175    pos -> ptr = e->Buffer + e->Zaehler;
Note: See TracChangeset for help on using the changeset viewer.