[FFmpeg-devel] [PATCH 04/26] avcodec: remove FF_API_THREAD_SAFE_CALLBACKS

Michael Niedermayer michael at niedermayer.cc
Sat Jan 21 00:44:55 EET 2023


On Mon, Jan 16, 2023 at 10:38:18AM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  fftools/ffmpeg.c                  |   5 -
>  libavcodec/avcodec.h              |  21 ---
>  libavcodec/decode.c               |  13 --
>  libavcodec/encode.c               |   7 +-
>  libavcodec/frame_thread_encoder.c |  20 ---
>  libavcodec/pthread_frame.c        | 237 +-----------------------------
>  libavcodec/thread.h               |  12 --
>  libavcodec/version_major.h        |   1 -
>  8 files changed, 6 insertions(+), 310 deletions(-)

breaks build without ptherads

make
LD	ffplay_g
libavcodec/libavcodec.a(utils.o): In function `ff_get_format':
libavcodec/utils.c:910: multiple definition of `ff_get_format'
libavcodec/libavcodec.a(decode.o):libavcodec/decode.c:1148: first defined here
collect2: error: ld returned 1 exit status
Makefile:131: recipe for target 'ffplay_g' failed
make: *** [ffplay_g] Error 1

thx

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

The day soldiers stop bringing you their problems is the day you have stopped 
leading them. They have either lost confidence that you can help or concluded 
you do not care. Either case is a failure of leadership. - Colin Powell
-------------- 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/20230120/101f1684/attachment.sig>


More information about the ffmpeg-devel mailing list