History

avcodec/libvpxenc: avoid unnecessary variable shadowing

James Almer committed 4 years ago

Commit cc6c5ff1 parent 53fd2d21 file · +0 −1Browse files

Unified · Split

libavcodec/libvpxenc.c+0−1
@@ -1290,7 +1290,6 @@ static int storeframe(AVCodecContext *avctx, struct FrameListData *cx_frame, · 1289 unmodified lines
1290 memcpy(side_data + 8, cx_frame->buf_alpha, cx_frame->sz_alpha);1290 memcpy(side_data + 8, cx_frame->buf_alpha, cx_frame->sz_alpha);
1291 }1291 }
1292 if (cx_frame->frame_number != -1) {1292 if (cx_frame->frame_number != -1) {
1293 VPxContext *ctx = avctx->priv_data;
1294 if (ctx->hdr10_plus_fifo) {1293 if (ctx->hdr10_plus_fifo) {
1295 int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);1294 int err = copy_hdr10_plus_to_pkt(ctx->hdr10_plus_fifo, pkt);
1296 if (err < 0)1295 if (err < 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t