mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-05 01:51:53 +02:00
Revert "mpegvideo: Do not error out on default values of thread_count."
This is not needed anymore.
This reverts commit ca0350f49b
.
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…
Reference in New Issue
Block a user