Ignore:
Timestamp:
10/07/06 02:49:28 (16 years ago)
Author:
r2d
Message:
  • fixed a LOT of bugs
  • fixed a bug that took me 2 days to find :)
  • remember to ALWAYS use -Wall with a C compiler (C++ is great !!!)
  • files can be played, but are not bit identical with the 1.15w encoder (the last digits of floats are not the same) - must be fixed.
File:
1 edited

Legend:

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

    r66 r71  
    1919
    2020#include <stdlib.h>
     21#include <stdio.h>
    2122
    2223#include "libmpcenc.h"
    2324
    2425void  WriteBits         ( mpc_encoder_t*, const mpc_uint32_t input, const unsigned int bits );
     26void       Init_Huffman_Encoder_SV7   ( void );
    2527
    2628// huffsv7.c
     
    9395                case 37800: WriteBits ( e, 2, 2 ); break;
    9496                case 32000: WriteBits ( e, 3, 2 ); break;
    95         default  : stderr_printf ( "Internal error\n");
     97                default   : sprintf(stderr, "Internal error\n");// FIXME : stderr_printf ( "Internal error\n");
    9698                    exit (1);
    9799    }
Note: See TracChangeset for help on using the changeset viewer.