diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-12-27 03:47:28 +0100 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-12-27 03:47:28 +0100 |
commit | 8f9024f2ca4740c4ed80dea1e9c890c9217013bd (patch) | |
tree | 19af19154a9a5f103971ac43b5dbefc8775a3aca /libavcodec/avcodec.h | |
parent | 1dd82edea5ab689f9a94e14cb2cf6d382cbf9ee6 (diff) | |
download | ffmpeg-8f9024f2ca4740c4ed80dea1e9c890c9217013bd.tar.gz |
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/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
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 |