Merge commit '41e1354c101004ccd46dc08d3dd6e956e83a6b51'
* commit '41e1354c101004ccd46dc08d3dd6e956e83a6b51': proresenc: Properly account for alpha plane Conflicts: libavcodec/proresenc_kostya.c See: 117bc8e6ffc744fedcf77edf2fdb33c964b83370 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cdd0ad7be1
@ -1253,7 +1253,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
+ 200;
|
||||
|
||||
if (ctx->alpha_bits) {
|
||||
// alpha plane is run-coded and might run over bit budget
|
||||
// The alpha plane is run-coded and might exceed the bit budget.
|
||||
ctx->frame_size_upper_bound += ctx->pictures_per_frame *
|
||||
ctx->slices_per_picture *
|
||||
/* num pixels per slice */ (ctx->mbs_per_slice * 256 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user