af_channelmap: fix uninitialized variable use introduced in ba8efac977

This commit is contained in:
Anton Khirnov 2013-04-09 22:01:10 +02:00
parent cdac3acb11
commit 837112c0c8

View File

@ -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];