diff mbox series

[FFmpeg-devel,03/11] avcodec/internal: Move ff_thread_can_start_frame() to threadframe.h

Message ID DB6PR0101MB2214E07A84C836220EC7554C8F9A9@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit bcb0faeaba60b5d329fafee2e55f28d3c709e7b1
Headers show
Series [FFmpeg-devel,01/11] avcodec/flacdsp: Remove unused function parameter | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 1, 2022, 12:23 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/internal.h    | 2 --
 libavcodec/threadframe.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 8809a7079a..b1a49579d8 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -218,8 +218,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