[MPlayer-dev-eng] [PATCH] libmpcodecs/ad_faad.c compile fix

Björn Sandell biorn at dce.chalmers.se
Tue Feb 4 02:04:30 CET 2003


On Tue, 04 Feb 2003 00:10:10 +0100
Andre Schulz <andre at 0wnage.de> wrote:

> 
> I tried to compile mplayer with the faad2-1.1 library and it choked.
> It turned out that the faacDecInit() and faacDecDecode() functions were 
> just missing 1 argument. (the buffer length)

Err, something dosen't add up here. From my faad.h

#define FAAD2_VERSION "1.1"

long FAADAPI faacDecInit(faacDecHandle hDecoder,
                        unsigned char *buffer,
                        unsigned long *samplerate,
                        unsigned char *channels);

void* FAADAPI faacDecDecode(faacDecHandle hDecoder,
                            faacDecFrameInfo *hInfo,
                            unsigned char *buffer);

Have been using it for three months.

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list