2018-05-16 2:25 GMT+02:00, Peter Bennett <pb.myt...@gmail.com>:
> From: Peter Bennett <pbenn...@mythtv.org>
>
> The header stdatomic.h causes compile errors in a c++ compiler, even
> when extern "C" is used around it. The appropriate c++ include is <atomic>.
> We cannot use #include <atomic> inside error_resilience.h because that
> causes
> compile errors inside extern "C". With this change, using error_resilience.h
> in a
> c++ program works but requires also including <atomic> in the c++ code.
> ---
>  libavcodec/error_resilience.h

This is not an installed header, it must never be included from
c++ code.

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to