lavf/tee: initialize ret in parse_bsfs()
authorStefano Sabatini <stefasab@gmail.com>
Thu, 22 Aug 2013 07:44:21 +0000 (09:44 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 22 Aug 2013 07:52:54 +0000 (09:52 +0200)
Fix spurious failures.

libavformat/tee.c

index 111966c..71f245e 100644 (file)
@@ -103,7 +103,7 @@ static int parse_bsfs(void *log_ctx, const char *bsfs_spec,
                       AVBitStreamFilterContext **bsfs)
 {
     char *bsf_name, *buf, *saveptr;
-    int ret;
+    int ret = 0;
 
     if (!(buf = av_strdup(bsfs_spec)))
         return AVERROR(ENOMEM);