[FFmpeg-devel] [PATCH 1/3] lavc/thread: move generic-layer API to avcodec_internal.h

Michael Niedermayer michael at niedermayer.cc
Sun Mar 10 01:26:33 EET 2024


On Fri, Mar 08, 2024 at 09:27:47AM +0100, Anton Khirnov wrote:
> thread.h currently contains both API for decoder use and functions
> internal to lavc generic layer. Move the latter to avcodec_internal.h,
> which is a more appropriate place for them.
> ---
>  libavcodec/avcodec_internal.h | 24 ++++++++++++++++++++++++
>  libavcodec/pthread.c          |  1 +
>  libavcodec/thread.h           | 25 +------------------------
>  3 files changed, 26 insertions(+), 24 deletions(-)

breaks ppc build

make -j32 -k
CC	libavcodec/utils.o
src/libavcodec/utils.c:810:5: error: no previous prototype for ‘ff_thread_init’ [-Werror=missing-prototypes]
 int ff_thread_init(AVCodecContext *s)
     ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
src/ffbuild/common.mak:81: recipe for target 'libavcodec/utils.o' failed
make: *** [libavcodec/utils.o] Error 1
make: Target 'all' not remade because of errors.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240310/5b63e0bc/attachment.sig>


More information about the ffmpeg-devel mailing list