aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-04-29 16:44:08 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-01 09:31:32 +0200
commitba71c74017c287681153ec8f6f1cba650d797275 (patch)
treefc55cd8aa4661e242b8da8112b68982400f65222 /libavcodec/avcodec.h
parente7fc9796d82abc99ef0af71027fb9aaa5311d137 (diff)
downloadffmpeg-ba71c74017c287681153ec8f6f1cba650d797275.tar.gz
lavc: deprecate AVCodecContext.codec_name
It is undocumented and has no real use.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f6869ef9f4..bd21197576 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1099,7 +1099,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 */
/**