From 77ecf6954f81c3e1b9589d2d14b79f839022e690 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 10 Jan 2003 21:10:50 +0000 Subject: have length in miliseconds too fix some intermediate calculation CVS patchset: 3856 CVS date: 2003/01/10 21:10:50 --- src/demuxers/demux_avi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/demuxers/demux_avi.c') diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index 470d565fc..9d7b6bc1d 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.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_avi.c,v 1.146 2003/01/10 11:57:16 miguelfreitas Exp $ + * $Id: demux_avi.c,v 1.147 2003/01/10 21:10:56 miguelfreitas Exp $ * * demultiplexer for avi streams * @@ -1436,7 +1436,7 @@ static int demux_avi_get_stream_length (demux_plugin_t *this_gen) { demux_avi_t *this = (demux_avi_t *) this_gen; if (this->avi) { - return get_video_pts(this, this->avi->video_idx.video_frames) / 90000 ; + return (int)(get_video_pts(this, this->avi->video_idx.video_frames) / 90); } return 0; -- cgit v1.2.3