summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-12-27 03:47:28 +0100
committerwm4 <nfxjfg@googlemail.com>2017-12-27 03:47:28 +0100
commit8f9024f2ca4740c4ed80dea1e9c890c9217013bd (patch)
tree19af19154a9a5f103971ac43b5dbefc8775a3aca /libavcodec
parent1dd82edea5ab689f9a94e14cb2cf6d382cbf9ee6 (diff)
lavc: remove uneffective attribute_deprecated on enum
Does not work. Even emits a warning with some compilers that the attribute does not work on enums. It's likely that there is way to make it work, but not worth the trouble.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a9182a9e3d..c13deb599f 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -5933,8 +5933,9 @@ AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel);
#if FF_API_LOCKMGR
/**
* Lock operation used by lockmgr
+ *
+ * @deprecated Deprecated together with av_lockmgr_register().
*/
-attribute_deprecated
enum AVLockOp {
AV_LOCK_CREATE, ///< Create a mutex
AV_LOCK_OBTAIN, ///< Lock the mutex