1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-07 11:13:41 +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 {
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;