Commit 52637462 authored by michael's avatar michael

qscale + qprd fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3192 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c0c2b881
...@@ -3497,7 +3497,8 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y) ...@@ -3497,7 +3497,8 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
} }
} }
ff_set_qscale(s, last_qp + s->dquant); ff_set_qscale(s, last_qp + s->dquant);
} }else if(s->flags&CODEC_FLAG_QP_RD)
ff_set_qscale(s, s->qscale + s->dquant);
wrap_y = s->linesize; wrap_y = s->linesize;
wrap_c = s->uvlinesize; wrap_c = s->uvlinesize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment