diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:35:04 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:35:04 +0000 |
commit | 614e17928e8f7b1bdc632fd934499cbfea165d8a (patch) | |
tree | 26887fbf9f785a69ec603c703ecda4650bbec829 /src/libreal/audio_decoder.c | |
parent | 1b71075127f7fdfad0c16cc8535cd2c2b4e01c3b (diff) | |
download | xine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.gz xine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.bz2 |
Make xine-lib compile with the SunPro compiler
CVS patchset: 3623
CVS date: 2002/12/22 00:35:04
Diffstat (limited to 'src/libreal/audio_decoder.c')
-rw-r--r-- | src/libreal/audio_decoder.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c index a94ef2dd6..a58e33a19 100644 --- a/src/libreal/audio_decoder.c +++ b/src/libreal/audio_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_decoder.c,v 1.15 2002/12/21 18:59:46 miguelfreitas Exp $ + * $Id: audio_decoder.c,v 1.16 2002/12/22 00:35:05 komadori Exp $ * * thin layer to use real binary-only codecs in xine * @@ -318,17 +318,16 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) { } { - ra_init_t init_data={ - samples_per_sec, - bits_per_sample, - num_channels, - 100, /* ??? */ - subpacket_size, /* subpacket size */ - coded_frame_size, /* coded frame size */ - data_len, /* codec data length */ - extras /* extras */ - }; - + ra_init_t init_data; + + init_data.samplerate = samples_per_sec; + init_data.bits = bits_per_sample; + init_data.channels = num_channels; + init_data.unk1 = 100; /* ??? */ + init_data.subpacket_size = subpacket_size; /* subpacket size */ + init_data.coded_frame_size = coded_frame_size; /* coded frame size */ + init_data.codec_data_length = data_len; /* codec data length */ + init_data.extras = extras; /* extras */ #ifdef LOG printf ("libareal: init_data:\n"); |