From 315c956cbd14f021e49dac7fc0b906fad1672aad Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 12 Oct 2023 16:52:49 +0200 Subject: avcodec/pthread_frame: Remove ff_thread_release_buffer() It is unnecessary since the removal of non-thread-safe callbacks in e0786a8eeb9e7c8feb057e83f284491f0a87e463. Since then, the AVCodecContext has only been used as logcontext. Removing ff_thread_release_buffer() allowed to remove AVCodecContext* parameters from several other functions (not only unref functions, but also e.g. ff_h264_ref_picture() which calls ff_h264_unref_picture() on error). Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- libavcodec/hevcdec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/hevcdec.h') diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index 3ee8bd4334..7f165b077d 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -690,7 +690,7 @@ int ff_hevc_output_frame(HEVCContext *s, AVFrame *frame, int flush); void ff_hevc_bump_frame(HEVCContext *s); -void ff_hevc_unref_frame(HEVCContext *s, HEVCFrame *frame, int flags); +void ff_hevc_unref_frame(HEVCFrame *frame, int flags); void ff_hevc_set_neighbour_available(HEVCLocalContext *lc, int x0, int y0, int nPbW, int nPbH); -- cgit v1.2.3