diff options
author | James Almer <jamrial@gmail.com> | 2022-04-05 12:19:04 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-04-05 12:19:04 -0300 |
commit | cc6c5ff2017c09dbf37070fa2e7fa79403c792ad (patch) | |
tree | 1c21b1d1823fcb78be3bfe172509b59486604a19 /libavcodec | |
parent | 53fd2d2203451434abd4ce22a758b1137edbe3fe (diff) | |
download | ffmpeg-cc6c5ff2017c09dbf37070fa2e7fa79403c792ad.tar.gz |
avcodec/libvpxenc: avoid unnecessary variable shadowing
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libvpxenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 302f3bc55b..f711c3fb19 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -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) |