Merge commit 'c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866'
* commit 'c4f7bee0872d5e2e0e91673dd4b0f18de4a3d866': lavc: deprecate unused mb_threshold field Conflicts: libavcodec/options_table.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user