summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-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 db46c99..03cedba 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);
OpenPOWER on IntegriCloud