1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/rpzaenc: Avoid useless intermediate variable

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-09-17 13:33:07 +02:00
parent 353108bfab
commit e27d67b24c

View File

@ -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);