changeset 16274:67a685497d21

1000000000000000l
author rfelker
date Fri, 19 Aug 2005 14:30:24 +0000
parents eda61c6a927f
children 7fb03699efd9
files libmpdemux/tvi_v4l2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l2.c	Fri Aug 19 14:28:30 2005 +0000
+++ b/libmpdemux/tvi_v4l2.c	Fri Aug 19 14:30:24 2005 +0000
@@ -318,7 +318,7 @@
 static void setup_audio_buffer_sizes(priv_t *priv)
 {
     int bytes_per_sample = priv->audio_in.bytes_per_sample;
-    double fps = priv->standard.frameperiod.denominator /
+    double fps = (double)priv->standard.frameperiod.denominator /
 	priv->standard.frameperiod.numerator;
     int seconds = priv->video_buffer_size_max/fps;