aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-18 15:42:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-18 15:42:29 +0200
commit1a5871d1bec6863dfee05c9cc8b97e2307530ce6 (patch)
tree21cc127f9296bc678848bdbbe31733b4ea800f12 /libavcodec/mpegvideo_enc.c
parent8be1120deb2b6bb7c5762071a116163d204d6ca8 (diff)
parentc4f7bee0872d5e2e0e91673dd4b0f18de4a3d866 (diff)
downloadffmpeg-1a5871d1bec6863dfee05c9cc8b97e2307530ce6.tar.gz
Merge commit 'c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866'
* commit 'c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866': lavc: deprecate unused mb_threshold field Conflicts: libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 4b926a5e7d..1b4dcf1050 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -640,13 +640,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");