Commit e27d67b2 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/rpzaenc: Avoid useless intermediate variable

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 353108bf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment