summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-03 13:50:50 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-03 13:50:50 +0000
commit7069cb73720d370c56abe018412d5b3490fafb95 (patch)
treedfd25d5c84ad28409c123c86d58188c902ad4dfc
parentcda65678b224164074a7b8bf478f708f65d79b01 (diff)
downloadxine-lib-7069cb73720d370c56abe018412d5b3490fafb95.tar.gz
xine-lib-7069cb73720d370c56abe018412d5b3490fafb95.tar.bz2
*** empty log message ***
CVS patchset: 1996 CVS date: 2002/06/03 13:50:50
-rw-r--r--src/demuxers/demux_qt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 526e9a4c1..99fd3c0db 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.37 2002/06/03 13:31:13 miguelfreitas Exp $
+ * $Id: demux_qt.c,v 1.38 2002/06/03 13:50:50 miguelfreitas Exp $
*
*/
@@ -1092,7 +1092,7 @@ static void *demux_qt_loop (void *this_gen) {
}
last_frame_pts = buf->pts;
} else if ((this->qt->frames[i].type == MEDIA_AUDIO) &&
- this->audio_fifo) {
+ this->audio_fifo && this->qt->audio_type) {
/* load an audio sample and packetize it */
remaining_sample_bytes = this->qt->frames[i].size;
this->input->seek(this->input, this->qt->frames[i].offset,
@@ -1319,7 +1319,7 @@ static int demux_qt_start (demux_plugin_t *this_gen,
buf->type = this->qt->video_type;
this->video_fifo->put (this->video_fifo, buf);
- if (this->audio_fifo) {
+ if (this->audio_fifo && this->qt->audio_type) {
buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo);
buf->content = buf->mem;
buf->type = this->qt->audio_type;