From 837112c0c84dd9de67421b57664933a0d27843f9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 9 Apr 2013 22:01:10 +0200 Subject: [PATCH] af_channelmap: fix uninitialized variable use introduced in ba8efac977f4276f05274947b2b67d144cbc965a --- libavfilter/af_channelmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_channelmap.c b/libavfilter/af_channelmap.c index 8ed96768ab..da83009c41 100644 --- a/libavfilter/af_channelmap.c +++ b/libavfilter/af_channelmap.c @@ -122,7 +122,7 @@ static int get_channel(char **map, uint64_t *ch, char delim) static av_cold int channelmap_init(AVFilterContext *ctx) { ChannelMapContext *s = ctx->priv; - int ret; + int ret = 0; char *mapping, separator = '|'; int map_entries = 0; char buf[256];