diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-22 18:23:17 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-22 18:38:27 +0100 |
commit | e28bd75f7cfd17169562d7c7f5a4a5386aba68e1 (patch) | |
tree | e1144b9236b705bf8f447c4e05c2c9c04434cd87 /libavcodec/hevc.h | |
parent | 38d7cc22f7782de2e7aca8eda2c2c2996f7f5700 (diff) | |
download | ffmpeg-e28bd75f7cfd17169562d7c7f5a4a5386aba68e1.tar.gz |
lavc/hevc: use atomics for wpp_err
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 6a3c7506c2..ff9a6cbf6d 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -23,6 +23,8 @@ #ifndef AVCODEC_HEVC_H #define AVCODEC_HEVC_H +#include <stdatomic.h> + #include "libavutil/buffer.h" #include "libavutil/md5.h" @@ -885,7 +887,7 @@ typedef struct HEVCContext { uint16_t seq_output; int enable_parallel_tiles; - int wpp_err; + atomic_int wpp_err; const uint8_t *data; |