[FFmpeg-cvslog] avcodec/rpzaenc: Avoid useless intermediate variable
Andreas Rheinhardt
git at videolan.org
Tue Sep 20 19:49:01 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Sep 17 13:33:07 2022 +0200| [e27d67b24ce4061bff1bfd8590acf2b49911b4b3] | committer: Andreas Rheinhardt
avcodec/rpzaenc: Avoid useless intermediate variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e27d67b24ce4061bff1bfd8590acf2b49911b4b3
---
libavcodec/rpzaenc.c | 3 +--
1 file changed, 1 insertion(+), 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);
More information about the ffmpeg-cvslog
mailing list