From 429ce6dc2ca33d5c46069cc48e8303a8ed643a85 Mon Sep 17 00:00:00 2001 From: Andreas Heinchen Date: Mon, 14 Apr 2003 05:06:29 +0000 Subject: small bugfix CVS patchset: 4613 CVS date: 2003/04/14 05:06:29 --- src/demuxers/demux_ogg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c index 46b0605e4..d4685e02b 100644 --- a/src/demuxers/demux_ogg.c +++ b/src/demuxers/demux_ogg.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_ogg.c,v 1.77 2003/04/14 04:36:26 heinchen Exp $ + * $Id: demux_ogg.c,v 1.78 2003/04/14 05:06:29 heinchen Exp $ * * demultiplexer for ogg streams * @@ -862,7 +862,7 @@ static void demux_ogg_send_header (demux_ogg_t *this) { stream_num=get_stream(this, ogg_page_serialno (&this->og) ); if (stream_num!=-1) { if (this->time_length < get_pts(this, stream_num, ogg_page_granulepos(&this->og))) - this->time_length = get_pts(this, stream_num, ogg_page_granulepos(&this->og)); + this->time_length = get_pts(this, stream_num, ogg_page_granulepos(&this->og)) / 90; } } this->demux_plugin.seek((demux_plugin_t *)this, position,0); -- cgit v1.2.3