summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_iff.c
diff options
context:
space:
mode:
authorManfred Tremmel <manfredtremmel@users.sourceforge.net>2004-02-25 18:57:34 +0000
committerManfred Tremmel <manfredtremmel@users.sourceforge.net>2004-02-25 18:57:34 +0000
commit7b05577fdbca9916f7b88c41bf8b04be741b56a2 (patch)
tree7b7cdfaedc98b3081ac1b65af47cc9390bbe0eb3 /src/demuxers/demux_iff.c
parent7543aa2070e67f5d301fc2def22952eeeb7e3959 (diff)
downloadxine-lib-7b05577fdbca9916f7b88c41bf8b04be741b56a2.tar.gz
xine-lib-7b05577fdbca9916f7b88c41bf8b04be741b56a2.tar.bz2
IFF: added ANIM OPT7 and OPT8 support
CVS patchset: 6188 CVS date: 2004/02/25 18:57:34
Diffstat (limited to 'src/demuxers/demux_iff.c')
-rw-r--r--src/demuxers/demux_iff.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/demuxers/demux_iff.c b/src/demuxers/demux_iff.c
index 965a7a65e..cd6a6e4d3 100644
--- a/src/demuxers/demux_iff.c
+++ b/src/demuxers/demux_iff.c
@@ -36,7 +36,7 @@
* * ANIM (Animations)
* - Animation can displayed, but has to be improved
*
- * $Id: demux_iff.c,v 1.7 2004/02/22 12:36:37 manfredtremmel Exp $
+ * $Id: demux_iff.c,v 1.8 2004/02/25 18:57:35 manfredtremmel Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -473,9 +473,11 @@ static int read_iff_chunk(demux_iff_t *this) {
this->anhd->interleave = buffer[18];
this->anhd->pad0 = buffer[19];
this->anhd->bits = BE_32(&buffer[20]);
- if( this->dpan == NULL )
- this->video_pts += this->video_pts_inc * this->anhd->rel_time;
- else
+ /* Using rel_time deaktivated, seems to be broken in most animations */
+ /*if( this->dpan == NULL )
+ this->video_pts += this->video_pts_inc *
+ ((this->anhd->rel_time > 0) ? this->anhd->rel_time : 1);
+ else*/
this->video_pts += this->video_pts_inc;
xprintf (this->stream->xine, XINE_VERBOSITY_LOG, "anhd->operation %d\n",
this->anhd->operation);