git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lavc/hevc: use atomics for wpp_err
[ffmpeg.git]
/
libavcodec
/
hevc.h
diff --git
a/libavcodec/hevc.h
b/libavcodec/hevc.h
index
6a3c750
..
ff9a6cb
100644
(file)
--- 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;