Commit c198af64 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e8436126'

* commit 'e8436126':
  af_channelmap: fix ONE_STR mapping mode
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents cd0982e1 e8436126
......@@ -184,7 +184,7 @@ static av_cold int channelmap_init(AVFilterContext *ctx)
s->map[i].out_channel_idx = i;
break;
case MAP_ONE_STR:
if (!get_channel(&mapping, &in_ch, separator)) {
if (get_channel(&mapping, &in_ch, separator) < 0) {
av_log(ctx, AV_LOG_ERROR, err);
return AVERROR(EINVAL);
}
......
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