avcodec/vc2enc: Avoid void* where possible

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/7.1
Andreas Rheinhardt 8 months ago
parent 2d818644a3
commit 6d86146fce
  1. 4
      libavcodec/vc2enc.c

@ -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;

Loading…
Cancel
Save