[FFmpeg-cvslog] lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting

Rodger Combs git at videolan.org
Tue Sep 15 00:22:44 CEST 2015


ffmpeg | branch: master | Rodger Combs <rodger.combs at gmail.com> | Thu Sep 10 11:12:15 2015 -0500| [8e924629ebdec78674e08cf905d378f70f518fa0] | committer: Michael Niedermayer

lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8e924629ebdec78674e08cf905d378f70f518fa0
---

 libavutil/avstring.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 466edaf..234c030 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



More information about the ffmpeg-cvslog mailing list