aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-08-12 23:08:28 -0300
committerJames Almer <jamrial@gmail.com>2024-08-12 23:10:48 -0300
commit82085a3e0a5a2d167dc51628678f7374dc53060e (patch)
tree98c72ca7758c8ad1c7a83075859ded295695e25e
parent472fbee8124dc1d4417507f1d8fd721e449658be (diff)
downloadffmpeg-82085a3e0a5a2d167dc51628678f7374dc53060e.tar.gz
avcodec/avcodec_internal: fix type definition for the new functions
Fixes make checkheaders. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/avcodec_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec_internal.h b/libavcodec/avcodec_internal.h
index 2f0aaab93b..31745b89b1 100644
--- a/libavcodec/avcodec_internal.h
+++ b/libavcodec/avcodec_internal.h
@@ -89,18 +89,18 @@ void ff_thread_flush(struct AVCodecContext *avctx);
*
* Parameters are the same as FFCodec.receive_frame.
*/
-int ff_thread_receive_frame(AVCodecContext *avctx, AVFrame *frame);
+int ff_thread_receive_frame(struct AVCodecContext *avctx, AVFrame *frame);
/**
* Do the actual decoding and obtain a decoded frame from the decoder, if
* available. When frame threading is used, this is invoked by the worker
* threads, otherwise by the top layer directly.
*/
-int ff_decode_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame);
+int ff_decode_receive_frame_internal(struct AVCodecContext *avctx, AVFrame *frame);
/**
* Get a packet for decoding. This gets invoked by the worker threads.
*/
-int ff_thread_get_packet(AVCodecContext *avctx, AVPacket *pkt);
+int ff_thread_get_packet(struct AVCodecContext *avctx, AVPacket *pkt);
#endif // AVCODEC_AVCODEC_INTERNAL_H