Mercurial > libavcodec.hg
changeset 7150:23f0a0b1b4f5 libavcodec
Export qscale so that postprocessing works.
author | astrange |
---|---|
date | Fri, 27 Jun 2008 18:50:06 +0000 |
parents | 720236bfb40b |
children | 4b1c14a839a7 |
files | mdec.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mdec.c Fri Jun 27 18:47:01 2008 +0000 +++ b/mdec.c Fri Jun 27 18:50:06 2008 +0000 @@ -203,8 +203,8 @@ } } -// p->quality= (32 + a->inv_qscale/2)/a->inv_qscale; -// memset(p->qscale_table, p->quality, p->qstride*a->mb_height); + p->quality= a->qscale * FF_QP2LAMBDA; + memset(p->qscale_table, a->qscale, p->qstride*a->mb_height); *picture= *(AVFrame*)&a->picture; *data_size = sizeof(AVPicture);