diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-10-08 10:58:43 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-18 05:28:29 +0200 |
commit | c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866 (patch) | |
tree | ccfb79b60457c5cd10312931d1130e72da08fee4 /libavcodec/mpegvideo_enc.c | |
parent | 685be3d1aecf965281128f3b631ed965bcfa754d (diff) | |
download | ffmpeg-c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866.tar.gz |
lavc: deprecate unused mb_threshold field
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 3de3b096c6..2084fe99ed 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -510,13 +510,6 @@ av_cold int ff_mpv_encode_init(AVCodecContext *avctx) return -1; } - i = (INT_MAX / 2 + 128) >> 8; - if (avctx->mb_threshold >= i) { - av_log(avctx, AV_LOG_ERROR, "mb_threshold too large, max is %d\n", - i - 1); - return -1; - } - if (avctx->b_frame_strategy && (avctx->flags & CODEC_FLAG_PASS2)) { av_log(avctx, AV_LOG_INFO, "notice: b_frame_strategy only affects the first pass\n"); |