diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 22:55:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 03:16:56 +0200 |
commit | 9fd34c8bb368e3aa96ccc4868878a515146f7498 (patch) | |
tree | 5f047584869191d53d04fbd778e638ee9e4848e0 /libavcodec/flacenc.c | |
parent | fa15ad291a0d89292f8f6bce087105a5910b0eff (diff) | |
download | ffmpeg-9fd34c8bb368e3aa96ccc4868878a515146f7498.tar.gz |
avcodec/flacenc: Mark encoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 2a1198987d..37ed1e4cce 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1468,5 +1468,5 @@ const AVCodec ff_flac_encoder = { AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE }, .priv_class = &flac_encoder_class, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, }; |