From 570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sat, 15 Nov 2003 13:01:00 +0000 Subject: more helper functions cleanup (stream info, meta info) CVS patchset: 5731 CVS date: 2003/11/15 13:01:00 --- src/libxineadec/nsf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libxineadec/nsf.c') 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 @@ -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 */ -- cgit v1.2.3