diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-28 19:54:41 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-06 06:13:54 +0200 |
commit | f48e4639aef5612d6f86018f1decadd380f656c4 (patch) | |
tree | 92bbfbcac81540deef2de0b90ecb4dc3b50470e2 /libavcodec/wmavoice.c | |
parent | f6ee90b6dcc31b40c12217d1989032a803838bb4 (diff) | |
download | ffmpeg-f48e4639aef5612d6f86018f1decadd380f656c4.tar.gz |
avcodec/wmavoice: Mark decoder as init-threadsafe
It is init-threadsafe since b9c1ab89078d862e0146c9d7ed277addd770e3a3
and except on MIPS even before that due to its use of ff_thread_once()
for static initialization.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/wmavoice.c')
-rw-r--r-- | libavcodec/wmavoice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index a9d50f95ca..e096b8029d 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -2007,6 +2007,6 @@ const AVCodec ff_wmavoice_decoder = { .close = wmavoice_decode_end, .decode = wmavoice_decode_packet, .capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .flush = wmavoice_flush, }; |