diff options
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 */ |