Browse Source

avfilter/f_streamselect: check if map is available

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.1
Paul B Mahol 10 years ago
parent
commit
c4ed213675
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/f_streamselect.c

+ 1
- 1
libavfilter/f_streamselect.c View File

@@ -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…
Cancel
Save