X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Ff_streamselect.c;h=03cedbaa8cb0d5eb5c784fc940ed87849491e799;hb=7524b678175e69504c9360c884cfe9116cb8bb11;hp=db46c997ed7977fd38c69327132133972113fc7f;hpb=73bd20c4d238026937ff07713c035d3cfe66b151;p=ffmpeg diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c index db46c997ed7..03cedbaa8cb 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);