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:
Michael Niedermayer 2012-01-02 03:10:52 +01:00
parent 4121148388
commit 157f29f9a6
1 changed files with 2 additions and 2 deletions

View File

@ -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)