From 5fe41b2ab56969bb992855da7fbbbf35accee3ba Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 17 Nov 2003 10:22:57 +0000 Subject: missing meta info change CVS patchset: 5759 CVS date: 2003/11/17 10:22:57 --- src/xine-engine/audio_decoder.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 344b7c793..eecc30f61 100644 --- a/src/xine-engine/audio_decoder.c +++ b/src/xine-engine/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.111 2003/11/16 23:33:48 f1rmb Exp $ + * $Id: audio_decoder.c,v 1.112 2003/11/17 10:22:57 f1rmb Exp $ * * * functions that implement audio decoding @@ -322,9 +322,8 @@ static void *audio_decoder_loop (void *stream_gen) { "audio_decoder: no plugin available to handle '%s'\n", _x_buf_audio_name( buf->type ) ); - if( !stream->meta_info[XINE_META_INFO_AUDIOCODEC] ) - stream->meta_info[XINE_META_INFO_AUDIOCODEC] - = strdup (_x_buf_audio_name( buf->type )); + if( !_x_meta_info_get(stream, XINE_META_INFO_AUDIOCODEC) ) + _x_meta_info_set(stream, XINE_META_INFO_AUDIOCODEC, _x_buf_audio_name( buf->type )); buftype_unknown = buf->type; -- cgit v1.2.3