Mercurial > mplayer.hg
diff libmpcodecs/ve_nuv.c @ 12061:656a1b45b309
Use aspect from encoder for AVI vprp header
author | ranma |
---|---|
date | Wed, 24 Mar 2004 15:16:36 +0000 |
parents | cf2324339983 |
children | acf3241be19b |
line wrap: on
line diff
--- a/libmpcodecs/ve_nuv.c Tue Mar 23 20:10:23 2004 +0000 +++ b/libmpcodecs/ve_nuv.c Wed Mar 24 15:16:36 2004 +0000 @@ -80,6 +80,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; vf->priv->buffer = realloc(vf->priv->buffer,vf->priv->buf_size); vf->priv->tbl_wrote = 0;