]> git.sesse.net Git - vlc/commitdiff
* modules/stream_out/mosaic_bridge.c: Fixed BeOS build.
authorChristophe Massiot <massiot@videolan.org>
Wed, 23 Nov 2005 17:06:14 +0000 (17:06 +0000)
committerChristophe Massiot <massiot@videolan.org>
Wed, 23 Nov 2005 17:06:14 +0000 (17:06 +0000)
modules/stream_out/mosaic_bridge.c

index e283a1638ab6fde25f209839336ae0c9996deff9..60184f06d6031f1a86ba87635171d4b6d6969775 100644 (file)
@@ -527,10 +527,10 @@ static picture_t *video_new_buffer( decoder_t *p_dec )
               p_dec->fmt_out.video.i_width;
         }
 
-        vlc_reduce( &p_dec->fmt_out.video.i_sar_num,
-                    &p_dec->fmt_out.video.i_sar_den,
-                    p_dec->fmt_out.video.i_sar_num,
-                    p_dec->fmt_out.video.i_sar_den, 0 );
+        vlc_ureduce( &p_dec->fmt_out.video.i_sar_num,
+                     &p_dec->fmt_out.video.i_sar_den,
+                     p_dec->fmt_out.video.i_sar_num,
+                     p_dec->fmt_out.video.i_sar_den, 0 );
 
         if( !p_dec->fmt_out.video.i_visible_width ||
             !p_dec->fmt_out.video.i_visible_height )