Commit c905c42a authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Remove unnecessary initialization

loop_filter_level is always reset in loop_filter_frame() later in
encoder.

Change-Id: I608e03d905a6b23e7d5025ca747e4784c665007e
parent 581aee00
......@@ -3700,10 +3700,8 @@ static void encode_frame_internal(VP9_COMP *cpi) {
#endif // CONFIG_VP9_HIGHBITDEPTH
x->itxm_add = xd->lossless ? vp9_iwht4x4_add : vp9_idct4x4_add;
if (xd->lossless) {
if (xd->lossless)
x->optimize = 0;
cm->lf.filter_level = 0;
}
cm->tx_mode = select_tx_mode(cpi, xd);
......
Supports Markdown
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