summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-07-28 23:50:21 +0100
committerMark Thompson <sw@jkqxz.net>2020-08-01 17:39:13 +0100
commitbc58d1f58eeb7f80049b18395256f2a8cb039f64 (patch)
tree718991f54aa0a477cbcae513ed71a201dff022ef /libavcodec/vaapi_encode.h
parente80fe329435d08f13a4b506c1af06359a31267f9 (diff)
vaapi_encode_h265: Fix ordering of tile dimensions
Dimensions are normally specified as width x height, and this will match the same option to libaom-av1. Remove the indirection through the private context at the same time.
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r--libavcodec/vaapi_encode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h
index 6487a99604..2d71eb0199 100644
--- a/libavcodec/vaapi_encode.h
+++ b/libavcodec/vaapi_encode.h
@@ -307,8 +307,8 @@ typedef struct VAAPIEncodeContext {
int slice_size;
// Tile encoding.
- int tile_rows;
int tile_cols;
+ int tile_rows;
// Tile width of the i-th column.
int col_width[MAX_TILE_COLS];
// Tile height of i-th row.