Commit c97f6d54 authored by Yushin Cho's avatar Yushin Cho

Use enum RUN_TYPE when checking dry_run

Change-Id: If6479b165e32caead29f7cedcfa64e637be2fb98
parent 6c8ec65b
......@@ -5260,7 +5260,7 @@ static void encode_superblock(const AV1_COMP *const cpi, ThreadData *td,
#if CONFIG_PVQ
x->pvq_speed = 0;
x->pvq_coded = !dry_run ? 1 : 0;
x->pvq_coded = (dry_run == OUTPUT_ENABLED) ? 1 : 0;
#endif
if (!is_inter) {
......
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