mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02: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