aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-01 02:26:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-05 03:28:45 +0200
commitbcb0faeaba60b5d329fafee2e55f28d3c709e7b1 (patch)
tree917ec5717ad0c567aa33e64691e4f9a46f9a2491 /libavcodec
parent6c4595190e7ef5cc2a3652ed4a604e46f7e37ac6 (diff)
downloadffmpeg-bcb0faeaba60b5d329fafee2e55f28d3c709e7b1.tar.gz
avcodec/internal: Move ff_thread_can_start_frame() to threadframe.h
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/internal.h2
-rw-r--r--libavcodec/threadframe.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 8e5e2a0f59..52e7f111c1 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -226,8 +226,6 @@ int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
*/
int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
-int ff_thread_can_start_frame(AVCodecContext *avctx);
-
int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
int avpriv_codec_get_cap_skip_frame_fill_param(const AVCodec *codec);
diff --git a/libavcodec/threadframe.h b/libavcodec/threadframe.h
index 100e068e06..d2f93c5cd0 100644
--- a/libavcodec/threadframe.h
+++ b/libavcodec/threadframe.h
@@ -84,4 +84,6 @@ void ff_thread_release_ext_buffer(AVCodecContext *avctx, ThreadFrame *f);
int ff_thread_ref_frame(ThreadFrame *dst, const ThreadFrame *src);
+int ff_thread_can_start_frame(AVCodecContext *avctx);
+
#endif