Message ID | AS8P250MB07442EF03FD5DC8CB1FA9E1B8FF12@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 6d86146fce70cba380d652691f9653957b879069 |
Headers | show |
Series | [FFmpeg-devel,1/7] avcodec/vc2enc: Avoid void* where possible | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/vc2enc.c | 4 ++-- > 1 file 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; Will apply the patchset with 5/7 using uint8_t tomorrow unless there are objections. - Andreas
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;
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/vc2enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)