summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-19 23:49:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-23 14:32:04 +0200
commit867e7bb4f101e74d69a637ab38e90360dfe8bceb (patch)
treeb5e203e273b4d075ac80fa5ccc4a59ddd241ecc1 /libavutil
parent3d3a7f5034a2ccab0e6ae655c8f9610308773714 (diff)
fix order of operations in comments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/opt.h2
-rw-r--r--libavutil/pixfmt.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index bf4c5ddf5c..14faa6e066 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -320,7 +320,7 @@ typedef struct AVOptionRanges {
/**
* Look for an option in obj. Look only for the options which
* have the flags set as specified in mask and flags (that is,
- * for which it is the case that opt->flags & mask == flags).
+ * for which it is the case that (opt->flags & mask) == flags).
*
* @param[in] obj a pointer to a struct whose first element is a
* pointer to an AVClass
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 1b9e1422c7..7b17a4f0c4 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -59,8 +59,8 @@
* allocating the picture.
*
* @note
- * Make sure that all newly added big-endian formats have pix_fmt & 1 == 1
- * and that all newly added little-endian formats have pix_fmt & 1 == 0.
+ * Make sure that all newly added big-endian formats have (pix_fmt & 1) == 1
+ * and that all newly added little-endian formats have (pix_fmt & 1) == 0.
* This allows simpler detection of big vs little-endian.
*/
enum AVPixelFormat {