diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-02-08 14:42:16 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-02-09 23:28:18 +0100 |
commit | 77c23704c769168e4210956314775a1931f6aa0b (patch) | |
tree | b030793ba75a72df0b92be3359881bd45e14c981 /libavcodec/pngdec.c | |
parent | 0c0b87f12d48d4e7f0d3d13f9345e828a3a5ea32 (diff) | |
download | ffmpeg-77c23704c769168e4210956314775a1931f6aa0b.tar.gz |
avcodec: Mark some codecs with threadsafe init as such
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index d59409764d..927248f2e3 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -708,4 +708,5 @@ AVCodec ff_png_decoder = { .close = png_dec_end, .decode = decode_frame, .capabilities = AV_CODEC_CAP_DR1 /*| AV_CODEC_CAP_DRAW_HORIZ_BAND*/, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; |