diff libmpcodecs/ve_divx4.c @ 12061:656a1b45b309

Use aspect from encoder for AVI vprp header
author ranma
date Wed, 24 Mar 2004 15:16:36 +0000
parents 57bdcdb061d7
children acf3241be19b
line wrap: on
line diff
--- a/libmpcodecs/ve_divx4.c	Tue Mar 23 20:10:23 2004 +0000
+++ b/libmpcodecs/ve_divx4.c	Wed Mar 24 15:16:36 2004 +0000
@@ -211,6 +211,7 @@
     mux_v->bih->biWidth=width;
     mux_v->bih->biHeight=height;
     mux_v->bih->biSizeImage=width*height*3;
+    mux_v->aspect = (float)d_width/d_height;
 
     if(!divx4_param.bitrate) divx4_param.bitrate=800000;
     else if(divx4_param.bitrate<=16000) divx4_param.bitrate*=1000;