mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'b16699f2da9c1d41eff852ec3a0c81f74fd44421'
* commit 'b16699f2da9c1d41eff852ec3a0c81f74fd44421':
proresenc: Remove unneeded parameters from encode_alpha_plane()
Conflicts:
libavcodec/proresenc_kostya.c
See: bf10f09bcc
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
43b769b0c4
|
@ -565,9 +565,8 @@ static int encode_slice(AVCodecContext *avctx, const AVFrame *pic,
|
||||||
get_alpha_data(ctx, src, linesize, xp, yp,
|
get_alpha_data(ctx, src, linesize, xp, yp,
|
||||||
pwidth, avctx->height / ctx->pictures_per_frame,
|
pwidth, avctx->height / ctx->pictures_per_frame,
|
||||||
ctx->blocks[0], mbs_per_slice, ctx->alpha_bits);
|
ctx->blocks[0], mbs_per_slice, ctx->alpha_bits);
|
||||||
sizes[i] = encode_alpha_plane(ctx, pb,
|
sizes[i] = encode_alpha_plane(ctx, pb, mbs_per_slice,
|
||||||
mbs_per_slice, ctx->blocks[0],
|
ctx->blocks[0], quant);
|
||||||
quant);
|
|
||||||
}
|
}
|
||||||
total_size += sizes[i];
|
total_size += sizes[i];
|
||||||
if (put_bits_left(pb) < 0) {
|
if (put_bits_left(pb) < 0) {
|
||||||
|
|
Loading…
Reference in New Issue