From 1ffd7cab6fdc071f246853f6482b42618b2e33b3 Mon Sep 17 00:00:00 2001 From: Andreas Heinchen Date: Tue, 30 Mar 2004 20:44:14 +0000 Subject: bugfix for ogms larger than 2 GB - thanks to Andrew de Quincey CVS patchset: 6319 CVS date: 2004/03/30 20:44:14 --- ChangeLog | 1 + src/demuxers/demux_ogg.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b67cc896d..1180df847 100644 --- a/ChangeLog +++ b/ChangeLog @@ -55,6 +55,7 @@ xine-lib (1-rc3b) as both the XFree86 and the proprietary driver are broken * fix long standing problem with xine using alsa's dmix audio out. Sound is now continuous. + * fix playback of ogg/ogm files larger than 2GB xine-lib (1-rc3a) * new subtitle formats: jacobsub, subviewer 2.0, subrip 0.9 diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c index 0c801ffe6..225cf9b7e 100644 --- a/src/demuxers/demux_ogg.c +++ b/src/demuxers/demux_ogg.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_ogg.c,v 1.143 2004/02/22 23:46:32 heinchen Exp $ + * $Id: demux_ogg.c,v 1.144 2004/03/30 20:44:15 heinchen Exp $ * * demultiplexer for ogg streams * @@ -236,7 +236,7 @@ static void get_stream_length (demux_ogg_t *this) { You have to seek afterwards, because after get_stream_length, the current_position is at the end of the file */ - int filelength; + off_t filelength; int done=0; int stream_num; -- cgit v1.2.3