summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-09 11:12:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-09 11:12:22 +0000
commit2c07cdf68053e8bd08696279bd8b508185937acc (patch)
tree1d890226d53e8214d845bc7394be336f1d644d80
parentd48b4b81c6cffa1fb86ae1dbc8e3115da5f86b6f (diff)
downloadxine-lib-2c07cdf68053e8bd08696279bd8b508185937acc.tar.gz
xine-lib-2c07cdf68053e8bd08696279bd8b508185937acc.tar.bz2
only report valid audio fourcc
CVS patchset: 2048 CVS date: 2002/06/09 11:12:22
-rw-r--r--src/demuxers/demux_qt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index cc1541456..7ffcecbc8 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.50 2002/06/09 09:36:40 esnel Exp $
+ * $Id: demux_qt.c,v 1.51 2002/06/09 11:12:22 miguelfreitas Exp $
*
*/
@@ -1267,7 +1267,7 @@ static int demux_qt_start (demux_plugin_t *this_gen,
this->qt->audio_type = formattag_to_buf_audio(this->qt->audio_codec);
- if( !this->qt->audio_type )
+ if( !this->qt->audio_type && this->qt->audio_codec )
xine_report_codec( this->xine, XINE_CODEC_AUDIO, this->qt->audio_codec, 0, 0);
/* print vital stats */