aaccoder: Change FFMAX for allzero flag to OR bit operation

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
oldabi
Young Han Lee 14 years ago committed by Ronald S. Bultje
parent b7f2fdde74
commit f578854efc
  1. 2
      libavcodec/aaccoder.c

@ -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]) {

Loading…
Cancel
Save