aaccoder: Change FFMAX for allzero flag to OR bit operation

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Young Han Lee 2011-03-11 11:39:24 +09:00 committed by Ronald S. Bultje
parent b7f2fdde74
commit f578854efc

View File

@ -723,7 +723,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
sce->zeroes[w*16+g] = !nz;
if (nz)
minthr = FFMIN(minthr, uplim);
allz = FFMAX(allz, nz);
allz |= nz;
}
}
for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {