Browse Source

lavc: Drop deprecated avctx codec name

Deprecated in 04/2014.
tags/n4.0
Vittorio Giovara 9 years ago
parent
commit
4476027d93
2 changed files with 0 additions and 10 deletions
  1. +0
    -7
      libavcodec/avcodec.h
  2. +0
    -3
      libavcodec/version.h

+ 0
- 7
libavcodec/avcodec.h View File

@@ -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 */

/**


+ 0
- 3
libavcodec/version.h View File

@@ -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


Loading…
Cancel
Save