Commit f578854e authored by Young Han Lee's avatar Young Han Lee Committed by Ronald S. Bultje

aaccoder: Change FFMAX for allzero flag to OR bit operation

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent b7f2fdde
...@@ -723,7 +723,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, ...@@ -723,7 +723,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
sce->zeroes[w*16+g] = !nz; sce->zeroes[w*16+g] = !nz;
if (nz) if (nz)
minthr = FFMIN(minthr, uplim); minthr = FFMIN(minthr, uplim);
allz = FFMAX(allz, nz); allz |= nz;
} }
} }
for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {
......
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