You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/libvpxenc: avoid unnecessary variable shadowing
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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);
|
memcpy(side_data + 8, cx_frame->buf_alpha, cx_frame->sz_alpha);
|
||||||
}
|
}
|
||||||
if (cx_frame->frame_number != -1) {
|
if (cx_frame->frame_number != -1) {
|
||||||
VPxContext *ctx = avctx->priv_data;
|
|
||||||
if (ctx->hdr10_plus_fifo) {
|
if (ctx->hdr10_plus_fifo) {
|
||||||
int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
|
int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
|
Reference in New Issue
Block a user