diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-30 00:35:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-30 05:16:15 +0200 |
commit | d3d5e84f33496f7c6ed704d53998db97a69f02e8 (patch) | |
tree | 2b7b8ee3b90f3bd5b2da270f035af0a4b5509fdc /libavformat/img2dec.c | |
parent | 3e1ff8eb27e547c330af72ec87ca75a951d64c24 (diff) | |
download | ffmpeg-d3d5e84f33496f7c6ed704d53998db97a69f02e8.tar.gz |
img2dec: remove GLOB_TILDE support.
tilde expansion should/can be done by the shell
Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r-- | libavformat/img2dec.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 155f9fc325..3579d3b22c 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -35,12 +35,6 @@ #ifndef GLOB_NOMAGIC #define GLOB_NOMAGIC 0 #endif -#ifndef GLOB_TILDE -#define GLOB_TILDE 0 -#endif -#ifndef GLOB_TILDE_CHECK -#define GLOB_TILDE_CHECK GLOB_TILDE -#endif #ifndef GLOB_BRACE #define GLOB_BRACE 0 #endif @@ -249,7 +243,7 @@ static int read_header(AVFormatContext *s1) *p = 0; av_free(dup); - gerr = glob(s->path, GLOB_NOCHECK|GLOB_BRACE|GLOB_NOMAGIC|GLOB_TILDE_CHECK, NULL, &s->globstate); + gerr = glob(s->path, GLOB_NOCHECK|GLOB_BRACE|GLOB_NOMAGIC, NULL, &s->globstate); if (gerr != 0) { return AVERROR(ENOENT); } |