[FFmpeg-cvslog] af_channelmap: fix uninitialized variable use introduced in ba8efac977f4276f05274947b2b67d144cbc965a

Anton Khirnov git at videolan.org
Thu Apr 11 11:26:14 CEST 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr  9 22:01:10 2013 +0200| [837112c0c84dd9de67421b57664933a0d27843f9] | committer: Anton Khirnov

af_channelmap: fix uninitialized variable use introduced in ba8efac977f4276f05274947b2b67d144cbc965a

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=837112c0c84dd9de67421b57664933a0d27843f9
---

 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 8ed9676..da83009 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];



More information about the ffmpeg-cvslog mailing list