diff libmpcodecs/ve_libdv.c @ 12061:656a1b45b309

Use aspect from encoder for AVI vprp header
author ranma
date Wed, 24 Mar 2004 15:16:36 +0000
parents 30507afa1cf6
children acf3241be19b
line wrap: on
line diff
--- a/libmpcodecs/ve_libdv.c	Tue Mar 23 20:10:23 2004 +0000
+++ b/libmpcodecs/ve_libdv.c	Wed Mar 24 15:16:36 2004 +0000
@@ -55,6 +55,7 @@
     mux_v->bih->biWidth=width;
     mux_v->bih->biHeight=height;
     mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8);
+    mux_v->aspect = (float)d_width/d_height;
 
     return 1;
 }