summaryrefslogtreecommitdiff
path: root/src/libreal/audio_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libreal/audio_decoder.c')
-rw-r--r--src/libreal/audio_decoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libreal/audio_decoder.c b/src/libreal/audio_decoder.c
index b6e8045ee..38200df40 100644
--- a/src/libreal/audio_decoder.c
+++ b/src/libreal/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.18 2003/01/03 23:18:13 miguelfreitas Exp $
+ * $Id: audio_decoder.c,v 1.19 2003/01/08 01:02:30 miguelfreitas Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -430,6 +430,8 @@ static void realdec_decode_data (audio_decoder_t *this_gen, buf_element_t *buf)
} else if (buf->decoder_flags & BUF_FLAG_HEADER) {
this->decoder_ok = init_codec (this, buf) ;
+ if( !this->decoder_ok )
+ this->stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = 0;
} else if( this->decoder_ok ) {