Commit cdd0ad7b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '41e1354c'

* commit '41e1354c':
  proresenc: Properly account for alpha plane

Conflicts:
	libavcodec/proresenc_kostya.c

See: 117bc8e6Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e348a81a 41e1354c
......@@ -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 *
......
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