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-10 19:12:15 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-15 01:00:57 +0300
commit8e924629ebdec78674e08cf905d378f70f518fa0 (patch)
tree5889556f5abf8bba5b2ecc13ef34f500a6eeb8d2 /libavutil
parenta85f2cdfbff13c2bbb4bd5609de2b76856078ff6 (diff)
lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 466edaf968..234c03078b 100644
--- a/libavutil/avstring.h
+++ b/libavutil/avstring.h
@@ -300,14 +300,14 @@ enum AVEscapeMode {
* characters lists, except it is guaranteed to use the exact same list
* of whitespace characters as the rest of libavutil.
*/
-#define AV_ESCAPE_FLAG_WHITESPACE 0x01
+#define AV_ESCAPE_FLAG_WHITESPACE (1 << 0)
/**
* Escape only specified special characters.
* Without this flag, escape also any characters that may be considered
* special by av_get_token(), such as the single quote.
*/
-#define AV_ESCAPE_FLAG_STRICT 0x02
+#define AV_ESCAPE_FLAG_STRICT (1 << 1)
/**
* Escape string in src, and put the escaped string in an allocated