aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 20:39:08 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:05:12 +0200
commit2079f95b3808f3275ddcc824d615d76bc95ea553 (patch)
tree84b1426f43042ed6fd85c7766df9543ae0b2a6e3
parentdde57205e14a782193f167de25bf1a28dfdf35bb (diff)
downloadffmpeg-2079f95b3808f3275ddcc824d615d76bc95ea553.tar.gz
avcodec/g723_1dec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/g723_1dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/g723_1dec.c b/libavcodec/g723_1dec.c
index 3b052f3801..7d75adbd7a 100644
--- a/libavcodec/g723_1dec.c
+++ b/libavcodec/g723_1dec.c
@@ -1120,4 +1120,5 @@ const AVCodec ff_g723_1_decoder = {
.decode = g723_1_decode_frame,
.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1,
.priv_class = &g723_1dec_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};