Browse Source

Merge commit '23fe589e19487bc9a40b77dae9509068da5b14b8' into release/2.4

* commit '23fe589e19487bc9a40b77dae9509068da5b14b8':
  prores: Evaluate all the quantizers

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.7
Michael Niedermayer 11 years ago
parent
commit
73046fa195
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/proresenc_kostya.c

+ 2
- 3
libavcodec/proresenc_kostya.c View File

@@ -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;
}


Loading…
Cancel
Save