[FFmpeg-cvslog] proresenc_kostya: remove unneeded parameters

Christophe Gisquet git at videolan.org
Fri Nov 28 20:02:18 CET 2014


ffmpeg | branch: release/2.1 | Christophe Gisquet <christophe.gisquet at gmail.com> | Mon Aug 11 22:06:07 2014 +0000| [e1ed566c1cda19bde0e523c76848ac9ee8b2f139] | committer: Michael Niedermayer

proresenc_kostya: remove unneeded parameters

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit bf10f09bccdcfdb41b9f5bbae01d55961bfd0693)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1ed566c1cda19bde0e523c76848ac9ee8b2f139
---

 libavcodec/proresenc_kostya.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 510b408..0719822 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -470,7 +470,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)
 {
@@ -565,7 +564,7 @@ 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,
+            sizes[i] = encode_alpha_plane(ctx, pb,
                                           mbs_per_slice, ctx->blocks[0],
                                           quant);
         }



More information about the ffmpeg-cvslog mailing list