You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavu/avstring: switch AV_ESCAPE_FLAGs to shift-based formatting
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
a85f2cdfbf
commit
8e924629eb
@@ -300,14 +300,14 @@ enum AVEscapeMode {
|
|||||||
* characters lists, except it is guaranteed to use the exact same list
|
* characters lists, except it is guaranteed to use the exact same list
|
||||||
* of whitespace characters as the rest of libavutil.
|
* 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.
|
* Escape only specified special characters.
|
||||||
* Without this flag, escape also any characters that may be considered
|
* Without this flag, escape also any characters that may be considered
|
||||||
* special by av_get_token(), such as the single quote.
|
* 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
|
* Escape string in src, and put the escaped string in an allocated
|
||||||
|
Reference in New Issue
Block a user