avfilter/f_streamselect: check if map is available
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
ea1f47757b
commit
c4ed213675
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user