changeset 6660:f8d1c9ab777a

aspect prescaling fix by magnus.pfeffer@epost.de
author arpi
date Sat, 06 Jul 2002 15:23:20 +0000
parents 715d93d492c3
children dc61b6b159e4
files libmpdemux/demux_nuv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_nuv.c	Sat Jul 06 15:20:34 2002 +0000
+++ b/libmpdemux/demux_nuv.c	Sat Jul 06 15:23:20 2002 +0000
@@ -245,7 +245,7 @@
 	   1.33 == 4:3 aspect ratio.   
 	*/
 	if(rtjpeg_fileheader.aspect == 1.0)
-		sh_video->aspect = (float) 1.33;
+		sh_video->aspect = (float) 4.0f/3.0f;
 
 	/* Get the FPS */
 	sh_video->fps = rtjpeg_fileheader.fps;