Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-02-16 20:14:55 +0300
committerPaul B Mahol <onemda@gmail.com>2016-02-16 21:18:31 +0300
commitc4ed21367559ec56a5e2d5197f930a871a86a510 (patch)
tree6a4829ac002ae05d9da65ec1349d147b93275b98 /libavfilter/f_streamselect.c
parentea1f47757b2d2dcfaa0052af34b9c1df293185af (diff)
avfilter/f_streamselect: check if map is available
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/f_streamselect.c')
-rw-r--r--libavfilter/f_streamselect.c2
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);