summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-17 10:22:57 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-17 10:22:57 +0000
commit5fe41b2ab56969bb992855da7fbbbf35accee3ba (patch)
tree37440a23a4b0aef5b3bdd3c85a533176b5d8ce5a /src/xine-engine/audio_decoder.c
parent7479544593aec1206994007d029b5fdfded04a41 (diff)
downloadxine-lib-5fe41b2ab56969bb992855da7fbbbf35accee3ba.tar.gz
xine-lib-5fe41b2ab56969bb992855da7fbbbf35accee3ba.tar.bz2
missing meta info change
CVS patchset: 5759 CVS date: 2003/11/17 10:22:57
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c7
1 files 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;