avcodec/mpegaudioenc: Mark encoders as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-30 23:06:07 +01:00 committed by Andreas Rheinhardt
parent 8320820ada
commit 032100687a
2 changed files with 2 additions and 0 deletions

View File

@ -38,4 +38,5 @@ const AVCodec ff_mp2fixed_encoder = {
AV_CH_LAYOUT_STEREO,
0 },
.defaults = mp2_defaults,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};

View File

@ -39,4 +39,5 @@ const AVCodec ff_mp2_encoder = {
AV_CH_LAYOUT_STEREO,
0 },
.defaults = mp2_defaults,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};