Commit c4ed2136 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/f_streamselect: check if map is available

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent ea1f4775
...@@ -267,7 +267,7 @@ static av_cold int init(AVFilterContext *ctx) ...@@ -267,7 +267,7 @@ static av_cold int init(AVFilterContext *ctx)
if (!strcmp(ctx->filter->name, "astreamselect")) if (!strcmp(ctx->filter->name, "astreamselect"))
s->is_audio = 1; s->is_audio = 1;
for (;;) { for (; map;) {
char *p; char *p;
strtol(map, &p, 0); strtol(map, &p, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment