aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tak.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-02 09:24:39 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-05 09:40:06 +0200
commitbefb7e7d79ab7b2627855ff0acc0fae861aff2cb (patch)
tree6dc8b85d550df5fc5248f33ff8ff0e438e1fc58b /libavcodec/tak.h
parent00597af58b76779c315d792232008466f3506ae3 (diff)
downloadffmpeg-befb7e7d79ab7b2627855ff0acc0fae861aff2cb.tar.gz
avcodec/tak: Use void* instead of AVCodecContext* for logcontext
Avoids implicit inclusions of avcodec.h in lavf/takdec.c and lavc/tak.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tak.h')
-rw-r--r--libavcodec/tak.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/tak.h b/libavcodec/tak.h
index 5e43598de8..1d1ee645e8 100644
--- a/libavcodec/tak.h
+++ b/libavcodec/tak.h
@@ -29,7 +29,6 @@
#include <stdint.h>
-#include "avcodec.h"
#include "get_bits.h"
#define TAK_FORMAT_DATA_TYPE_BITS 3
@@ -151,13 +150,13 @@ int avpriv_tak_parse_streaminfo(TAKStreamInfo *s, const uint8_t *buf, int size);
/**
* Validate and decode a frame header.
- * @param avctx AVCodecContext to use as av_log() context
+ * @param logctx for use as av_log() context
* @param[in] gb GetBitContext from which to read frame header
* @param[out] s frame information
* @param log_level_offset log level offset, can be used to silence
* error messages.
* @return non-zero on error, 0 if OK
*/
-int ff_tak_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
+int ff_tak_decode_frame_header(void *logctx, GetBitContext *gb,
TAKStreamInfo *s, int log_level_offset);
#endif /* AVCODEC_TAK_H */