diff options
author | James Almer <jamrial@gmail.com> | 2017-10-23 23:06:05 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-23 23:08:32 +0300 |
commit | bfab4308560c277d754c214210758a865fcc7348 (patch) | |
tree | 609493b886bed4b8a94bf89a6b8cad269224fb3b /libavcodec/libxvid.c | |
parent | fb41bad7e051240017bc4cc79c50ea36ac12b96c (diff) | |
parent | 94eed68ace9f2416af8457fcbf142b175928c06b (diff) |
Merge commit '94eed68ace9f2416af8457fcbf142b175928c06b'
* commit '94eed68ace9f2416af8457fcbf142b175928c06b':
lavc: Drop deprecated options moved to private contexts
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r-- | libavcodec/libxvid.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index d76264d517..5c05fa6d87 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -418,30 +418,6 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) case 1: x->me_flags |= XVID_ME_ADVANCEDDIAMOND16 | XVID_ME_HALFPELREFINE16; -#if FF_API_MOTION_EST -FF_DISABLE_DEPRECATION_WARNINGS - break; - default: - switch (avctx->me_method) { - case ME_FULL: /* Quality 6 */ - x->me_flags |= XVID_ME_EXTSEARCH16 | - XVID_ME_EXTSEARCH8; - case ME_EPZS: /* Quality 4 */ - x->me_flags |= XVID_ME_ADVANCEDDIAMOND8 | - XVID_ME_HALFPELREFINE8 | - XVID_ME_CHROMA_PVOP | - XVID_ME_CHROMA_BVOP; - case ME_LOG: /* Quality 2 */ - case ME_PHODS: - case ME_X1: - x->me_flags |= XVID_ME_ADVANCEDDIAMOND16 | - XVID_ME_HALFPELREFINE16; - case ME_ZERO: /* Quality 0 */ - default: - break; - } -FF_ENABLE_DEPRECATION_WARNINGS -#endif } /* Decide how we should decide blocks */ |