]> git.sesse.net Git - ffmpeg/commitdiff
lavc: remove uneffective attribute_deprecated on enum
authorwm4 <nfxjfg@googlemail.com>
Wed, 27 Dec 2017 02:47:28 +0000 (03:47 +0100)
committerwm4 <nfxjfg@googlemail.com>
Wed, 27 Dec 2017 02:47:28 +0000 (03:47 +0100)
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.

libavcodec/avcodec.h

index a9182a9e3daa14dd75a61e5d5aec3da8e9db0196..c13deb599fc215d0c1de235822492ad54fb637bc 100644 (file)
@@ -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