Mercurial > mplayer.hg
comparison libmpcodecs/ad_faad.c @ 7648:7ee8239bfcc0
I think libfaad2 changed recently. The functions faacDecInit() and
faacDecInit2() now return the number of channels through a pointer to char
(was: pointer to long).
patch by Uwe.Reder@3SOFT.de
author | arpi |
---|---|
date | Mon, 07 Oct 2002 10:18:46 +0000 |
parents | 1eadce15446c |
children | 6fa743f3094b |
comparison
equal
deleted
inserted
replaced
7647:936d3d41e373 | 7648:7ee8239bfcc0 |
---|---|
43 return 1; | 43 return 1; |
44 } | 44 } |
45 | 45 |
46 static int init(sh_audio_t *sh) | 46 static int init(sh_audio_t *sh) |
47 { | 47 { |
48 unsigned long faac_samplerate, faac_channels; | 48 unsigned long faac_samplerate; |
49 unsigned char faac_channels; | |
49 int faac_init; | 50 int faac_init; |
50 faac_hdec = faacDecOpen(); | 51 faac_hdec = faacDecOpen(); |
51 | 52 |
52 // If we don't get the ES descriptor, try manual config | 53 // If we don't get the ES descriptor, try manual config |
53 if(!sh->codecdata_len) { | 54 if(!sh->codecdata_len) { |