summaryrefslogtreecommitdiff
path: root/libavfilter/f_streamselect.c
diff options
context:
space:
mode:
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);