[FFmpeg-cvslog] avcodec/vc2enc: Avoid void* where possible

Andreas Rheinhardt git at videolan.org
Fri May 31 15:30:04 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat May 25 20:17:24 2024 +0200| [6d86146fce70cba380d652691f9653957b879069] | committer: Andreas Rheinhardt

avcodec/vc2enc: Avoid void* where possible

Reviewed-by: Lynne <dev at lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d86146fce70cba380d652691f9653957b879069
---

 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;



More information about the ffmpeg-cvslog mailing list