summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_iff.c
diff options
context:
space:
mode:
authorManfred Tremmel <manfredtremmel@users.sourceforge.net>2004-08-21 21:21:12 +0000
committerManfred Tremmel <manfredtremmel@users.sourceforge.net>2004-08-21 21:21:12 +0000
commit7451e0ea0e150060fcbe24b96f2f6eff418c7a4b (patch)
tree1a903c0bed341708d76f010486e3e8e59b0f70ce /src/demuxers/demux_iff.c
parenta51c09fc68c5adb8ce7c0855e9a35a191e3515fa (diff)
downloadxine-lib-7451e0ea0e150060fcbe24b96f2f6eff418c7a4b.tar.gz
xine-lib-7451e0ea0e150060fcbe24b96f2f6eff418c7a4b.tar.bz2
little cleanup and improved the playback of broaken iff files
CVS patchset: 6902 CVS date: 2004/08/21 21:21:12
Diffstat (limited to 'src/demuxers/demux_iff.c')
-rw-r--r--src/demuxers/demux_iff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/demux_iff.c b/src/demuxers/demux_iff.c
index b7f26d6a7..8ed89d591 100644
--- a/src/demuxers/demux_iff.c
+++ b/src/demuxers/demux_iff.c
@@ -36,7 +36,7 @@
* * ANIM (Animations)
* - Animation works fine, without seeking.
*
- * $Id: demux_iff.c,v 1.11 2004/06/13 21:28:53 miguelfreitas Exp $
+ * $Id: demux_iff.c,v 1.12 2004/08/21 21:21:12 manfredtremmel Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -959,7 +959,7 @@ static int demux_iff_send_chunk(demux_plugin_t *this_gen) {
buf->decoder_info[0] = this->video_pts_inc;
buf->decoder_info_ptr[0] = this->anhd;
if( this->input->get_length (this->input) )
- buf->extra_info->input_normpos = (int)( (double) this->input->get_current_pos (this->input) *
+ buf->extra_info->input_normpos = (int)( (double) this->input->get_current_pos (this->input) *
65535 / this->input->get_length (this->input) );
buf->pts = this->video_pts;
buf->extra_info->input_time = buf->pts / 90;
@@ -1292,7 +1292,7 @@ static char *get_identifier (demux_class_t *this_gen) {
}
static char *get_extensions (demux_class_t *this_gen) {
- return "iff svx 8svx 16sv ilbm pic anim";
+ return "iff svx 8svx 16sv ilbm ham ham6 ham8 anim anim3 anim5 anim7 anim8";
}
static char *get_mimetypes (demux_class_t *this_gen) {