1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00

avcodec/vc2enc: Avoid void* where possible

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-25 20:17:24 +02:00
parent 2d818644a3
commit 6d86146fce

View File

@ -106,7 +106,7 @@ typedef struct Plane {
typedef struct SliceArgs { typedef struct SliceArgs {
PutBitContext pb; PutBitContext pb;
int cache[DIRAC_MAX_QUANT_INDEX]; int cache[DIRAC_MAX_QUANT_INDEX];
void *ctx; struct VC2EncContext *ctx;
int x; int x;
int y; int y;
int quant_idx; int quant_idx;
@ -116,7 +116,7 @@ typedef struct SliceArgs {
} SliceArgs; } SliceArgs;
typedef struct TransformArgs { typedef struct TransformArgs {
void *ctx; struct VC2EncContext *ctx;
Plane *plane; Plane *plane;
const void *idata; const void *idata;
ptrdiff_t istride; ptrdiff_t istride;