summaryrefslogtreecommitdiff
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-11-25 16:55:44 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-11-26 02:17:23 +0000
commit590136e78da3d091ea99ab5432543d47a559a461 (patch)
tree895d1015e229b7401b4d89eb2072d452e995635b /libavcodec/internal.h
parent3154f4417ab56cfd1e978e6abbb68a9f9f7600ed (diff)
libavcodec/utils.c: simplify avcodec locking with atomics
Also makes it more robust than using volatiles. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index d3310b6afe..1c54966f37 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -246,7 +246,6 @@ int ff_init_buffer_info(AVCodecContext *s, AVFrame *frame);
void ff_color_frame(AVFrame *frame, const int color[4]);
-extern volatile int ff_avcodec_locked;
int ff_lock_avcodec(AVCodecContext *log_ctx, const AVCodec *codec);
int ff_unlock_avcodec(const AVCodec *codec);