mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +00:00
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"))
|
||||
s->is_audio = 1;
|
||||
|
||||
for (;;) {
|
||||
for (; map;) {
|
||||
char *p;
|
||||
|
||||
strtol(map, &p, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user