aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-17 13:33:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-20 18:32:28 +0200
commite27d67b24ce4061bff1bfd8590acf2b49911b4b3 (patch)
treeb47f8e056c08fa77b9ef9dc5e8c41fd00d1a55d0
parent353108bfab46903b06343fb6f0e4d32fb0fdfb1e (diff)
downloadffmpeg-e27d67b24ce4061bff1bfd8590acf2b49911b4b3.tar.gz
avcodec/rpzaenc: Avoid useless intermediate variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/rpzaenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/rpzaenc.c b/libavcodec/rpzaenc.c
index 0084a271c6..d710eb4f82 100644
--- a/libavcodec/rpzaenc.c
+++ b/libavcodec/rpzaenc.c
@@ -773,10 +773,9 @@ static int rpza_encode_init(AVCodecContext *avctx)
}
static int rpza_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
- const AVFrame *frame, int *got_packet)
+ const AVFrame *pict, int *got_packet)
{
RpzaContext *s = avctx->priv_data;
- const AVFrame *pict = frame;
uint8_t *buf;
int ret = ff_alloc_packet(avctx, pkt, 6LL * avctx->height * avctx->width);