aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lagarithrac.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-28 21:48:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-01 01:02:53 +0200
commit3ea73bc78a8b43abbb58b47de96cac07c06d0a20 (patch)
treeb6242be5156488d4684fc349894575a1fd15a519 /libavcodec/lagarithrac.h
parent08dd036b9fc79f79cbe64245b06db903428b3bde (diff)
downloadffmpeg-3ea73bc78a8b43abbb58b47de96cac07c06d0a20.tar.gz
avcodec/lagarith: Use void* instead of AVCodecContext* as logctx
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/lagarithrac.h')
-rw-r--r--libavcodec/lagarithrac.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/lagarithrac.h b/libavcodec/lagarithrac.h
index a31b054dbb..2c8cb7385a 100644
--- a/libavcodec/lagarithrac.h
+++ b/libavcodec/lagarithrac.h
@@ -32,11 +32,10 @@
#include <stdint.h>
#include "libavutil/intreadwrite.h"
-#include "avcodec.h"
#include "get_bits.h"
typedef struct lag_rac {
- AVCodecContext *avctx;
+ void *logctx;
unsigned low;
unsigned range;
unsigned scale; /**< Number of bits of precision in range. */