projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f629a9
)
af_channelmap: fix ONE_STR mapping mode
author
Anton Khirnov
<anton@khirnov.net>
Tue, 4 Mar 2014 06:19:46 +0000
(07:19 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 16 Mar 2014 06:43:52 +0000
(07:43 +0100)
get_channel() returns 0 on success
CC:libav-stable@libav.org
libavfilter/af_channelmap.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_channelmap.c
b/libavfilter/af_channelmap.c
index
71d51e7
..
3e5cc3d
100644
(file)
--- a/
libavfilter/af_channelmap.c
+++ b/
libavfilter/af_channelmap.c
@@
-188,7
+188,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);
}