diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-15 13:01:00 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-11-15 13:01:00 +0000 |
commit | 570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b (patch) | |
tree | ed387d71185404d03367e64a52093b0e6369ed67 /src/libxineadec/logpcm.c | |
parent | bb62a769e4a50cef3023408bf9a527e63b7d884d (diff) | |
download | xine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.gz xine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.bz2 |
more helper functions cleanup (stream info, meta info)
CVS patchset: 5731
CVS date: 2003/11/15 13:01:00
Diffstat (limited to 'src/libxineadec/logpcm.c')
-rw-r--r-- | src/libxineadec/logpcm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libxineadec/logpcm.c b/src/libxineadec/logpcm.c index 3ff15fb0b..4cf95f28f 100644 --- a/src/libxineadec/logpcm.c +++ b/src/libxineadec/logpcm.c @@ -30,7 +30,7 @@ * http://sox.sourceforge.net/ * which listed the code as being lifted from Sun Microsystems. * - * $Id: logpcm.c,v 1.12 2003/01/08 01:02:31 miguelfreitas Exp $ + * $Id: logpcm.c,v 1.13 2003/11/15 13:01:21 miguelfreitas Exp $ * */ @@ -160,9 +160,9 @@ static void logpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->size = 0; /* stream/meta info */ - this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = - (buf->type == BUF_AUDIO_MULAW) ? strdup("mu-law log PCM") : - strdup("A-law log PCM"); + xine_set_meta_info(this->stream, XINE_META_INFO_AUDIOCODEC, + (buf->type == BUF_AUDIO_MULAW) ? "mu-law log PCM" : + "A-law log PCM" ); /* pre-calculate the possible log values */ if (buf->type == BUF_AUDIO_MULAW) |