[FFmpeg-cvslog] lavc: Drop deprecated avctx codec name

Vittorio Giovara git at videolan.org
Mon Oct 23 22:29:34 EEST 2017


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Dec  5 17:08:15 2016 -0500| [4476027d93680cd88d2f75ef1cef5b0c276a8704] | committer: Vittorio Giovara

lavc: Drop deprecated avctx codec name

Deprecated in 04/2014.

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

 libavcodec/avcodec.h | 7 -------
 libavcodec/version.h | 3 ---
 2 files changed, 10 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f7c879604e..e1f5d8ff6e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1219,13 +1219,6 @@ typedef struct AVCodecContext {
 
     enum AVMediaType codec_type; /* see AVMEDIA_TYPE_xxx */
     const struct AVCodec  *codec;
-#if FF_API_CODEC_NAME
-    /**
-     * @deprecated this field is not used for anything in libavcodec
-     */
-    attribute_deprecated
-    char             codec_name[32];
-#endif
     enum AVCodecID     codec_id; /* see AV_CODEC_ID_xxx */
 
     /**
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 04f701430e..99aa9bf8cc 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -47,9 +47,6 @@
  * the public API and may change, break or disappear at any time.
  */
 
-#ifndef FF_API_CODEC_NAME
-#define FF_API_CODEC_NAME        (LIBAVCODEC_VERSION_MAJOR < 58)
-#endif
 #ifndef FF_API_AFD
 #define FF_API_AFD               (LIBAVCODEC_VERSION_MAJOR < 58)
 #endif



More information about the ffmpeg-cvslog mailing list