History

avcodec/vaapi_encode_h265: fix missing slice_block_cols assignment

Instead of assigning to unit_opts.slice_block_cols, the slice_block_cols value from the context was incorrectly assigned to slice_block_rows. Regression from 12f158ca8f2ecc172f27569af88426d0e39ce995 Fixes CID1619479 Unused value

Marvin Scholz committed 2 years ago

Commit 720ae6b1 parent 4858a8e1 file · +1 −1Browse files

Unified · Split

libavcodec/vaapi_encode_h265.c+1−1
@@ -275,7 +275,7 @@ static int vaapi_encode_h265_init_sequence_params(AVCodecContext *avctx) · 274 unmodified lines
275275 priv->unit_opts.tile_cols = ctx->tile_cols;
276276 priv->unit_opts.nb_slices = ctx->nb_slices;
277277 priv->unit_opts.slice_block_rows = ctx->slice_block_rows;
278− priv->unit_opts.slice_block_rows = ctx->slice_block_cols;
278+ priv->unit_opts.slice_block_cols = ctx->slice_block_cols;
279279 memcpy(priv->unit_opts.col_width, ctx->col_width,
280280 ctx->tile_rows*sizeof(*priv->unit_opts.col_width));
281281 memcpy(priv->unit_opts.row_height, ctx->row_height,

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