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

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Sep 14 20:01:09 EEST 2023


No longer used since the removal of FF_API_THREAD_SAFE_CALLBACKS
in e0786a8eeb9e7c8feb057e83f284491f0a87e463.

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

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,
 };
-- 
2.34.1



More information about the ffmpeg-devel mailing list