diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-02-16 18:14:55 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-02-16 19:18:31 +0100 |
commit | c4ed21367559ec56a5e2d5197f930a871a86a510 (patch) | |
tree | 6a4829ac002ae05d9da65ec1349d147b93275b98 | |
parent | ea1f47757b2d2dcfaa0052af34b9c1df293185af (diff) | |
download | ffmpeg-c4ed21367559ec56a5e2d5197f930a871a86a510.tar.gz |
avfilter/f_streamselect: check if map is available
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/f_streamselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c index db46c997ed..03cedbaa8c 100644 --- a/libavfilter/f_streamselect.c +++ b/libavfilter/f_streamselect.c @@ -267,7 +267,7 @@ static av_cold int init(AVFilterContext *ctx) if (!strcmp(ctx->filter->name, "astreamselect")) s->is_audio = 1; - for (;;) { + for (; map;) { char *p; strtol(map, &p, 0); |