aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-25 20:17:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-05-31 14:18:33 +0200
commit6d86146fce70cba380d652691f9653957b879069 (patch)
tree5e34dd5f88d77232b162a02541a389f8dd322e70 /libavcodec
parent2d818644a3f1e189036107afc96c8187538d71a8 (diff)
downloadffmpeg-6d86146fce70cba380d652691f9653957b879069.tar.gz
avcodec/vc2enc: Avoid void* where possible
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc2enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index 365d43146d..b496f67d3a 100644
--- a/libavcodec/vc2enc.c
+++ b/libavcodec/vc2enc.c
@@ -106,7 +106,7 @@ typedef struct Plane {
typedef struct SliceArgs {
PutBitContext pb;
int cache[DIRAC_MAX_QUANT_INDEX];
- void *ctx;
+ struct VC2EncContext *ctx;
int x;
int y;
int quant_idx;
@@ -116,7 +116,7 @@ typedef struct SliceArgs {
} SliceArgs;
typedef struct TransformArgs {
- void *ctx;
+ struct VC2EncContext *ctx;
Plane *plane;
const void *idata;
ptrdiff_t istride;