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/nsf.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/nsf.c')
-rw-r--r-- | src/libxineadec/nsf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libxineadec/nsf.c b/src/libxineadec/nsf.c index d3692cab6..9c65d2157 100644 --- a/src/libxineadec/nsf.c +++ b/src/libxineadec/nsf.c @@ -20,7 +20,7 @@ * NSF Audio "Decoder" using the Nosefart NSF engine by Matt Conte * http://www.baisoku.org/ * - * $Id: nsf.c,v 1.2 2003/01/08 07:36:21 tmmm Exp $ + * $Id: nsf.c,v 1.3 2003/11/15 13:01:21 miguelfreitas Exp $ */ #include <stdio.h> @@ -86,7 +86,8 @@ static void nsf_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->channels = buf->decoder_info[3]; /* take this opportunity to initialize stream/meta information */ - this->stream->meta_info[XINE_META_INFO_AUDIOCODEC] = strdup("NES Music (Nosefart)"); + xine_set_meta_info(this->stream, XINE_META_INFO_AUDIOCODEC, + "NES Music (Nosefart)"); this->song_number = buf->content[4]; /* allocate a buffer for the file */ |