Changeset 481


Ignore:
Timestamp:
04/06/12 01:07:04 (12 years ago)
Author:
r2d
Message:

removed byteswap.h in mpcdec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcdec/mpcdec.c

    r480 r481  
    4141#include <getopt.h>
    4242#include <math.h>
    43 #include <byteswap.h>
    4443
    4544#ifdef _MSC_VER
     
    7675    FILE* p_handle = (FILE*) p_user_data;
    7776    return (t_wav_uint32) !fseek(p_handle, p_position, SEEK_SET);
     77}
     78
     79static short bswap_16(short in)
     80{
     81        return (in << 8) | ((in >> 8) & 0xFF);
    7882}
    7983
Note: See TracChangeset for help on using the changeset viewer.