theora: avoid simple->double->simple precision
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 19:34:29 +0000 (22:34 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 19:34:29 +0000 (22:34 +0300)
modules/codec/theora.c

index 89f1f7f..c2adc03 100644 (file)
@@ -727,7 +727,7 @@ static int OpenEncoder( vlc_object_t *p_this )
     }
 
     p_sys->ti.target_bitrate = p_enc->fmt_out.i_bitrate;
-    p_sys->ti.quality = ((float)i_quality) * 6.3;
+    p_sys->ti.quality = ((float)i_quality) * 6.3f;
 
 
     p_sys->tcx = th_encode_alloc( &p_sys->ti );