diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2017-03-27 11:24:43 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2017-03-28 11:21:27 -0400 |
commit | 5ba8c3a0ed0e43e6418eabdf8af9549c9e806382 (patch) | |
tree | 5644876dde707aef7c7fe4c995bbbbe3f9e34c58 /libavcodec/dirac_arith.h | |
parent | 64b553998567141b05239dcf11ad4d24aeaead8e (diff) | |
download | ffmpeg-5ba8c3a0ed0e43e6418eabdf8af9549c9e806382.tar.gz |
dirac: make initialization of arithmetic coder tables threadsafe.
Diffstat (limited to 'libavcodec/dirac_arith.h')
-rw-r--r-- | libavcodec/dirac_arith.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dirac_arith.h b/libavcodec/dirac_arith.h index 003430a48d..24a7ca390e 100644 --- a/libavcodec/dirac_arith.h +++ b/libavcodec/dirac_arith.h @@ -190,6 +190,7 @@ static inline int dirac_get_arith_int(DiracArith *c, int follow_ctx, int data_ct return ret; } +void ff_dirac_init_arith_tables(void); void ff_dirac_init_arith_decoder(DiracArith *c, GetBitContext *gb, int length); #endif /* AVCODEC_DIRAC_ARITH_H */ |