diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-09 22:25:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-18 19:58:56 +0200 |
commit | 6aad1204ccea90113d19a8b829c8b81891f9474e (patch) | |
tree | 8610a6ee598d1ff4cbf8225877a11b4c6713a244 /libavcodec/libuavs3d.c | |
parent | c597510434f2950df09d218106279c880bdc146c (diff) | |
download | ffmpeg-6aad1204ccea90113d19a8b829c8b81891f9474e.tar.gz |
avcodec: Add FF_CODEC_CAP_NOT_INIT_THREADSAFE
This is in preparation of switching the default init-thread-safety
to a codec being init-thread-safe.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/libuavs3d.c')
-rw-r--r-- | libavcodec/libuavs3d.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libuavs3d.c b/libavcodec/libuavs3d.c index 7c6c3f0440..5ccd9893a5 100644 --- a/libavcodec/libuavs3d.c +++ b/libavcodec/libuavs3d.c @@ -256,7 +256,8 @@ const FFCodec ff_libuavs3d_decoder = { .close = libuavs3d_end, FF_CODEC_DECODE_CB(libuavs3d_decode_frame), .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS, - .caps_internal = FF_CODEC_CAP_AUTO_THREADS, + .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE | + FF_CODEC_CAP_AUTO_THREADS, .flush = libuavs3d_flush, .p.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV420P10LE, |