diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-14 17:17:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-18 02:55:13 +0200 |
commit | 1982113467661947bafce48558df752de4a4faba (patch) | |
tree | c337c56db2b397f86db74c44d12f879cb18d490e /libavcodec/thread.h | |
parent | bca2651a320def7dbeb6ea4f35f67a7ed6b2da0f (diff) | |
download | ffmpeg-1982113467661947bafce48558df752de4a4faba.tar.gz |
avcodec/threadframe: Move ff_thread_can_start_frame() to thread.h
It does not use ThreadFrames at all, so thread.h is the correct place.
bcb0faeaba60b5d329fafee2e55f28d3c709e7b1 was wrong.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/thread.h')
-rw-r--r-- | libavcodec/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/thread.h b/libavcodec/thread.h index 180e1137ae..4edcfc3172 100644 --- a/libavcodec/thread.h +++ b/libavcodec/thread.h @@ -52,6 +52,8 @@ void ff_thread_flush(AVCodecContext *avctx); int ff_thread_decode_frame(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, AVPacket *avpkt); +int ff_thread_can_start_frame(AVCodecContext *avctx); + /** * If the codec defines update_thread_context(), call this * when they are ready for the next thread to start decoding |