diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-18 14:15:21 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-08-18 18:48:14 +0200 |
commit | b16699f2da9c1d41eff852ec3a0c81f74fd44421 (patch) | |
tree | 85727b2af861c280f2280a7c1cfe3c256cce5738 | |
parent | 12640e4cbb142be0cd025bcf37f1ea437bdfecd0 (diff) | |
download | ffmpeg-b16699f2da9c1d41eff852ec3a0c81f74fd44421.tar.gz |
proresenc: Remove unneeded parameters from encode_alpha_plane()
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavcodec/proresenc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c index bdb826cf07..6acaededc5 100644 --- a/libavcodec/proresenc.c +++ b/libavcodec/proresenc.c @@ -468,7 +468,6 @@ static void put_alpha_run(PutBitContext *pb, int run) // todo alpha quantisation for high quants static int encode_alpha_plane(ProresContext *ctx, PutBitContext *pb, - const uint16_t *src, int linesize, int mbs_per_slice, uint16_t *blocks, int quant) { @@ -563,9 +562,8 @@ static int encode_slice(AVCodecContext *avctx, const AVFrame *pic, get_alpha_data(ctx, src, linesize, xp, yp, pwidth, avctx->height / ctx->pictures_per_frame, ctx->blocks[0], mbs_per_slice, ctx->alpha_bits); - sizes[i] = encode_alpha_plane(ctx, pb, src, linesize, - mbs_per_slice, ctx->blocks[0], - quant); + sizes[i] = encode_alpha_plane(ctx, pb, mbs_per_slice, + ctx->blocks[0], quant); } total_size += sizes[i]; } |