avcodec/mpegaudioenc: Mark encoders as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/362/head
Andreas Rheinhardt 4 years ago committed by Andreas Rheinhardt
parent 8320820ada
commit 032100687a
  1. 1
      libavcodec/mpegaudioenc_fixed.c
  2. 1
      libavcodec/mpegaudioenc_float.c

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

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

Loading…
Cancel
Save