summaryrefslogtreecommitdiff
path: root/libavcodec/version.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/version.h
parente7fc9796d82abc99ef0af71027fb9aaa5311d137 (diff)
lavc: deprecate AVCodecContext.codec_name
It is undocumented and has no real use.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r--libavcodec/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 79428cf864..fd7aa5d94c 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -141,5 +141,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 */