diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-16 16:03:38 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 10:09:17 +0100 |
commit | 94eed68ace9f2416af8457fcbf142b175928c06b (patch) | |
tree | 6c4c97060df6dcb4128c959bb3b4b281bc85feb7 /libavcodec/motion_est.c | |
parent | c43a96fe16e6a6ea091e64ca271f0788f4a0bea9 (diff) | |
download | ffmpeg-94eed68ace9f2416af8457fcbf142b175928c06b.tar.gz |
lavc: Drop deprecated options moved to private contexts
Deprecated in 10/2014 and 07/2015.
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r-- | libavcodec/motion_est.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 1c0116c754..c6dd3b86af 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -310,25 +310,6 @@ int ff_init_me(MpegEncContext *s){ return -1; } -#if FF_API_MOTION_EST -FF_DISABLE_DEPRECATION_WARNINGS - if (s->motion_est == FF_ME_EPZS) { - if (s->me_method == ME_ZERO) - s->motion_est = FF_ME_ZERO; - else if (s->me_method == ME_EPZS) - s->motion_est = FF_ME_EPZS; - else if (s->me_method == ME_X1) - s->motion_est = FF_ME_XONE; - else { - av_log(s->avctx, AV_LOG_ERROR, - "me_method is only allowed to be set to zero and epzs; " - "for hex,umh,full and others see dia_size\n"); - return -1; - } - } -FF_ENABLE_DEPRECATION_WARNINGS -#endif - c->avctx= s->avctx; if(cache_size < 2*dia_size && !c->stride){ |