1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-03 09:49:58 +02:00

avcodec/libvpxenc: avoid unnecessary variable shadowing

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2022-04-05 12:19:04 -03:00
parent 53fd2d2203
commit cc6c5ff201

View File

@ -1290,7 +1290,6 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame,
memcpy(side_data + 8, cx_frame->buf_alpha, cx_frame->sz_alpha);
}
if (cx_frame->frame_number != -1) {
VPxContext *ctx = avctx->priv_data;
if (ctx->hdr10_plus_fifo) {
int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
if (err < 0)