[FFmpeg-cvslog] lavf/tee: initialize ret in parse_bsfs()

Stefano Sabatini git at videolan.org
Thu Aug 22 09:53:22 CEST 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Aug 22 09:44:21 2013 +0200| [eadb3ad7580ab883071a1658c8ef73bd68b5af87] | committer: Stefano Sabatini

lavf/tee: initialize ret in parse_bsfs()

Fix spurious failures.

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

 libavformat/tee.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/tee.c b/libavformat/tee.c
index 111966c..71f245e 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);



More information about the ffmpeg-cvslog mailing list