diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-27 15:51:26 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 02:38:45 +0200 |
commit | 275d7a81e0d3526933f17ace764afa58a2b7eb73 (patch) | |
tree | b3a07f453dd38d393905526c3def6bde65049f65 /libavcodec | |
parent | cc07608240ec9b4ac09c61ede4a3050cd0e73f8b (diff) | |
download | ffmpeg-275d7a81e0d3526933f17ace764afa58a2b7eb73.tar.gz |
avcodec/on2avc: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/on2avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c index 2ab67350ca..fa3eb4b219 100644 --- a/libavcodec/on2avc.c +++ b/libavcodec/on2avc.c @@ -1012,7 +1012,7 @@ const AVCodec ff_on2avc_decoder = { .decode = on2avc_decode_frame, .close = on2avc_decode_close, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, }; |