Ticket #1477: mplayer-libavcodec-solparens.diff

File mplayer-libavcodec-solparens.diff, 721 bytes (added by nikke@…, 17 years ago)

Workaround for the solaris gas paren matching bug

  • libavcodec/mlp.h

     
    5151#define MAX_SAMPLERATE      192000
    5252
    5353/** maximum number of audio samples within one access unit */
    54 #define MAX_BLOCKSIZE       (40 * (MAX_SAMPLERATE / 48000))
     54/* #define MAX_BLOCKSIZE       (40 * (MAX_SAMPLERATE / 48000)) */
     55#define MAX_BLOCKSIZE 160
    5556/** next power of two greater than MAX_BLOCKSIZE */
    56 #define MAX_BLOCKSIZE_POW2  (64 * (MAX_SAMPLERATE / 48000))
     57/* #define MAX_BLOCKSIZE_POW2  (64 * (MAX_SAMPLERATE / 48000)) */
     58#define MAX_BLOCKSIZE_POW2 256
    5759
    5860/** number of allowed filters */
    5961#define NUM_FILTERS         2