diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-05-06 07:35:45 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-05-06 07:35:45 +0700 |
commit | 83065939cb84d79f1880bf3470e031619b55988b (patch) | |
tree | b5708daaa8867699707e9a2c8a41c46d6c812002 /libavutil/opt.c | |
parent | 9c1aa14bf0b88da9f91dc114519e725cbd69180e (diff) | |
download | ffmpeg-83065939cb84d79f1880bf3470e031619b55988b.tar.gz |
avutil/parsing: add '\r' as whitespace
for compatibility with platforms that treat it
as newline
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r-- | libavutil/opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index ae92da06c4..70a68d92e3 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1395,7 +1395,7 @@ int av_set_options_string(void *ctx, const char *opts, return count; } -#define WHITESPACES " \n\t" +#define WHITESPACES " \n\t\r" static int is_key_char(char c) { |