Browse Source

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.
tags/n4.0
wm4 7 years ago
parent
commit
8f9024f2ca
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/avcodec.h

+ 2
- 1
libavcodec/avcodec.h View 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


Loading…
Cancel
Save