mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
Merge commit '4690e01c3aaf495c87127e5dc74aa347197dbc0b'
* commit '4690e01c3aaf495c87127e5dc74aa347197dbc0b': prores: Evaluate all the quantizers Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
41915d0b86
@ -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…
Reference in New Issue
Block a user