Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2015-09-21 12:15:56 +0300
committerRodger Combs <rodger.combs@gmail.com>2015-10-09 12:12:57 +0300
commitf36baeebc55d326b0a665b3e3e91792aa81102b7 (patch)
tree77eada653b43b435311963a6f6d234decb1438cf /libavutil/opt.h
parent8f6f357fde0ea88db180db07a6d749ef95f52c28 (diff)
lavu/opt: switch AV_OPT flags to shift-based formatting
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index d6d8df36ff..ef90e9c87a 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -553,22 +553,22 @@ int av_opt_eval_q (void *obj, const AVOption *o, const char *val, AVRational
* @}
*/
-#define AV_OPT_SEARCH_CHILDREN 0x0001 /**< Search in possible children of the
- given object first. */
+#define AV_OPT_SEARCH_CHILDREN (1 << 0) /**< Search in possible children of the
+ given object first. */
/**
* The obj passed to av_opt_find() is fake -- only a double pointer to AVClass
* instead of a required pointer to a struct containing AVClass. This is
* useful for searching for options without needing to allocate the corresponding
* object.
*/
-#define AV_OPT_SEARCH_FAKE_OBJ 0x0002
+#define AV_OPT_SEARCH_FAKE_OBJ (1 << 1)
/**
* Allows av_opt_query_ranges and av_opt_query_ranges_default to return more than
* one component for certain option types.
* @see AVOptionRanges for details.
*/
-#define AV_OPT_MULTI_COMPONENT_RANGE 0x1000
+#define AV_OPT_MULTI_COMPONENT_RANGE (1 << 12)
/**
* Look for an option in an object. Consider only options which