aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-08-22 09:44:21 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-08-22 09:52:54 +0200
commiteadb3ad7580ab883071a1658c8ef73bd68b5af87 (patch)
treeff6153b6d5be0db83a189d004c1b08df508efd92 /libavformat/tee.c
parent3819db745da2ac7fb3faacb116788c32f4753f34 (diff)
downloadffmpeg-eadb3ad7580ab883071a1658c8ef73bd68b5af87.tar.gz
lavf/tee: initialize ret in parse_bsfs()
Fix spurious failures.
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 111966cf3b..71f245e4f1 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -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);