Module: libav
Branch: master
Commit: 837112c0c84dd9de67421b57664933a0d27843f9

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Tue Apr  9 22:01:10 2013 +0200

af_channelmap: fix uninitialized variable use introduced in 
ba8efac977f4276f05274947b2b67d144cbc965a

---

 libavfilter/af_channelmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to