mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Revert "mpegvideo: Do not error out on default values of thread_count."
This is not needed anymore. This reverts commit ca0350f49b82663123f7fb4fddcafa7c874a96a4.
This commit is contained in:
parent
4121148388
commit
157f29f9a6
@ -580,10 +580,10 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
if (s->avctx->thread_count < 1) {
|
||||
av_log(avctx, AV_LOG_INFO,
|
||||
av_log(avctx, AV_LOG_ERROR,
|
||||
"automatic thread number detection not supported by codec, "
|
||||
"patch welcome\n");
|
||||
s->avctx->thread_count = 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (s->avctx->thread_count > 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user