[FFmpeg-devel] [RFC][PATCH 18/18] avcodec/avpacket: make the AVPacketList API thread safe

Michael Niedermayer michael at niedermayer.cc
Thu Nov 19 18:18:05 EET 2020


On Wed, Nov 18, 2020 at 01:52:47PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> I don't know if this is necessary, so i'm sending it as an RFC.
> 
>  libavcodec/avpacket.c        | 34 +++++++++++++++++++++++++++++++---
>  libavcodec/packet_internal.h |  2 ++
>  2 files changed, 33 insertions(+), 3 deletions(-)

This seems to break build on mingw

In file included from src/libavutil/thread.h:146:0,
                 from src/libavcodec/packet_internal.h:24,
                 from src/libavformat/internal.h:29,
                 from src/libavformat/options_table.h:28,
                 from src/doc/print_options.c:43:
src/compat/w32pthreads.h:39:10: fatal error: windows.h: No such file or directory
 #include <windows.h>
          ^~~~~~~~~~~
compilation terminated.


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

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- 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/20201119/4e2071d3/attachment.sig>


More information about the ffmpeg-devel mailing list