diff mbox series

[FFmpeg-devel,2/5] avcodec/pthread_frame: Remove unused enum values

Message ID GV1P250MB07374FE469A779967FC2BB4E8FF7A@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit aa8e3f0342d738c2f10d561dc9ab50c2add8dc14
Headers show
Series [FFmpeg-devel,1/5] avcodec/thread: Remove outdated documentation | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 14, 2023, 5:01 p.m. UTC
No longer used since the removal of FF_API_THREAD_SAFE_CALLBACKS
in e0786a8eeb9e7c8feb057e83f284491f0a87e463.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/pthread_frame.c | 10 ----------
 1 file changed, 10 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index 6b792bfc39..58a9101888 100644
--- a/libavcodec/pthread_frame.c
+++ b/libavcodec/pthread_frame.c
@@ -55,16 +55,6 @@  enum {
     STATE_INPUT_READY,
     ///< Set before the codec has called ff_thread_finish_setup().
     STATE_SETTING_UP,
-    /**
-     * Set when the codec calls get_buffer().
-     * State is returned to STATE_SETTING_UP afterwards.
-     */
-    STATE_GET_BUFFER,
-     /**
-      * Set when the codec calls get_format().
-      * State is returned to STATE_SETTING_UP afterwards.
-      */
-    STATE_GET_FORMAT,
     ///< Set after the codec has called ff_thread_finish_setup().
     STATE_SETUP_FINISHED,
 };