[FFmpeg-cvslog] libavcodec/version: add a comment about FF_API_MPV_OPT deprecation

Rostislav Pehlivanov git at videolan.org
Sat Oct 21 23:04:13 EEST 2017


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sat Oct 21 21:02:35 2017 +0100| [efb79cabb2c801c9e76a0af6c72121f547ab7f59] | committer: Rostislav Pehlivanov

libavcodec/version: add a comment about FF_API_MPV_OPT deprecation

In order to prevent it from being forgotten and delayed until the next bump.

Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=efb79cabb2c801c9e76a0af6c72121f547ab7f59
---

 libavcodec/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/version.h b/libavcodec/version.h
index 1d4e5df596..8584bb7006 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -160,8 +160,8 @@
 #ifndef FF_API_AVCTX_TIMEBASE
 #define FF_API_AVCTX_TIMEBASE    (LIBAVCODEC_VERSION_MAJOR < 59)
 #endif
-#ifndef FF_API_MPV_OPT
-#define FF_API_MPV_OPT           (LIBAVCODEC_VERSION_MAJOR < 59)
+#ifndef FF_API_MPV_OPT /* To be removed with ffserver removal */
+#define FF_API_MPV_OPT           1
 #endif
 #ifndef FF_API_STREAM_CODEC_TAG
 #define FF_API_STREAM_CODEC_TAG  (LIBAVCODEC_VERSION_MAJOR < 58)



More information about the ffmpeg-cvslog mailing list