diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-21 00:36:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-21 00:56:11 +0100 |
commit | a53fbda9dc92273054a103db7539d2bb6e9632b2 (patch) | |
tree | 90fd4e9667823cd69ac15c4b243c62b0cb179524 /libavcodec/mpeg12enc.c | |
parent | a36201564163a267644f1b5bc58fca0e3c25a9fa (diff) | |
download | ffmpeg-a53fbda9dc92273054a103db7539d2bb6e9632b2.tar.gz |
avcodec/mpeg12enc: Move high resolution thread check to before initializing threads
Cleaner solution is welcome!
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 349136ef9e..a9d0e3f66a 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -139,9 +139,6 @@ static av_cold int encode_init(AVCodecContext *avctx) { MpegEncContext *s = avctx->priv_data; - if (avctx->codec_id == AV_CODEC_ID_MPEG1VIDEO && avctx->height > 2800) - avctx->thread_count = 1; - if (ff_mpv_encode_init(avctx) < 0) return -1; |