diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-21 23:20:19 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 16:28:54 +0100 |
commit | be736e42372ddb311ff6d7bf8898f67bf3a20793 (patch) | |
tree | 31670eceed35af946c0310fc5115802815f903b9 /libavformat/mj2kdec.c | |
parent | 4d39a4db68b564c359c0c561e456b75f755b901f (diff) | |
download | ffmpeg-be736e42372ddb311ff6d7bf8898f67bf3a20793.tar.gz |
avcodec/mpegvideo_enc: Remove redundant checks for multithreading
The generic code ensures that only codecs with
the FF_CODEC_CAP_AUTO_THREADS internal cap ever have to
handle the case avctx->thread_count == 0 themselves;
moreover, it is also ensured generically that only codecs
that support some form of threading have thread_count set
to something else than one. So these checks are unnecessary.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mj2kdec.c')
0 files changed, 0 insertions, 0 deletions