Commit 41915d0b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '4690e01c'

* commit '4690e01c':
  prores: Evaluate all the quantizers
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 71df932b 4690e01c
......@@ -824,10 +824,9 @@ static int find_slice_quant(AVCodecContext *avctx, const AVFrame *pic,
if (ctx->alpha_bits)
bits += estimate_alpha_plane(ctx, &error, src, linesize[3],
mbs_per_slice, q, td->blocks[3]);
if (bits > 65000 * 8) {
if (bits > 65000 * 8)
error = SCORE_LIMIT;
break;
}
slice_bits[q] = bits;
slice_score[q] = error;
}
......
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