diff options
Diffstat (limited to 'libmpcodecs/ve_nuv.c')
-rw-r--r-- | libmpcodecs/ve_nuv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/ve_nuv.c b/libmpcodecs/ve_nuv.c index 1cff9e28a2..50a75666e5 100644 --- a/libmpcodecs/ve_nuv.c +++ b/libmpcodecs/ve_nuv.c @@ -80,6 +80,7 @@ static int config(struct vf_instance_s* vf, 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; |