Commit 58f4d126 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'ba71c740'

* commit 'ba71c740':
  lavc: deprecate AVCodecContext.codec_name
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d1c35977 ba71c740
......@@ -1257,7 +1257,13 @@ 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 */
/**
......
......@@ -159,5 +159,8 @@
#ifndef FF_API_MV0
#define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_CODEC_NAME
#define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
#endif /* AVCODEC_VERSION_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment