diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-09 13:13:33 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-25 14:52:51 +0100 |
commit | 18e89b964cd226785ca647e521ab09e16026fd26 (patch) | |
tree | 95f849e65650c3d0aa5c56741653333770ac6d79 /libavcodec/h261.h | |
parent | 41826f84bb2f2cb4a92de97c0d1c9cb57737c2cb (diff) | |
download | ffmpeg-18e89b964cd226785ca647e521ab09e16026fd26.tar.gz |
avcodec/h261enc: Make encoder init-threadsafe
This is easy now that the H.261 encoder is the only user that
initializes the non-VLC parts of ff_h261_rl_tcoeff.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/h261.h')
-rw-r--r-- | libavcodec/h261.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h261.h b/libavcodec/h261.h index 399a404b2b..25728a295d 100644 --- a/libavcodec/h261.h +++ b/libavcodec/h261.h @@ -48,8 +48,6 @@ typedef struct H261Context { #define MB_TYPE_H261_FIL 0x800000 -extern uint8_t ff_h261_rl_table_store[2][2 * MAX_RUN + MAX_LEVEL + 3]; - extern const uint8_t ff_h261_mba_code[35]; extern const uint8_t ff_h261_mba_bits[35]; extern const uint8_t ff_h261_mtype_code[10]; @@ -60,7 +58,6 @@ extern const uint8_t ff_h261_cbp_tab[63][2]; extern RLTable ff_h261_rl_tcoeff; void ff_h261_loop_filter(MpegEncContext *s); -void ff_h261_common_init(void); int ff_h261_get_picture_format(int width, int height); void ff_h261_reorder_mb_index(MpegEncContext *s); |