avcodec/xsubenc: Mark decoder as init-threadsafe

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-26 18:08:38 +01:00
parent 42c0cf89fe
commit 703abb3c0e
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "put_bits.h"
/**
@ -230,4 +231,5 @@ AVCodec ff_xsub_encoder = {
.id = AV_CODEC_ID_XSUB,
.init = xsub_encoder_init,
.encode_sub = xsub_encode,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};