diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-02 09:24:39 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-05 09:40:06 +0200 |
commit | befb7e7d79ab7b2627855ff0acc0fae861aff2cb (patch) | |
tree | 6dc8b85d550df5fc5248f33ff8ff0e438e1fc58b /libavcodec/tak.c | |
parent | 00597af58b76779c315d792232008466f3506ae3 (diff) | |
download | ffmpeg-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.c')
-rw-r--r-- | libavcodec/tak.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tak.c b/libavcodec/tak.c index 99678e9887..91feac5451 100644 --- a/libavcodec/tak.c +++ b/libavcodec/tak.c @@ -144,11 +144,11 @@ int avpriv_tak_parse_streaminfo(TAKStreamInfo *s, const uint8_t *buf, int size) return tak_parse_streaminfo(s, &gb); } -int ff_tak_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb, +int ff_tak_decode_frame_header(void *logctx, GetBitContext *gb, TAKStreamInfo *ti, int log_level_offset) { if (get_bits(gb, TAK_FRAME_HEADER_SYNC_ID_BITS) != TAK_FRAME_HEADER_SYNC_ID) { - av_log(avctx, AV_LOG_ERROR + log_level_offset, "missing sync id\n"); + av_log(logctx, AV_LOG_ERROR + log_level_offset, "missing sync id\n"); return AVERROR_INVALIDDATA; } |