[FFmpeg-cvslog] lavc: remove uneffective attribute_deprecated on enum
wm4
git at videolan.org
Wed Dec 27 04:49:16 EET 2017
ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Wed Dec 27 03:47:28 2017 +0100| [8f9024f2ca4740c4ed80dea1e9c890c9217013bd] | committer: wm4
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f9024f2ca4740c4ed80dea1e9c890c9217013bd
---
libavcodec/avcodec.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
More information about the ffmpeg-cvslog
mailing list