From 5f476cfe6e388ae2b59a63ab34d8d014a780db5c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 19 Mar 2013 15:09:10 +0100 Subject: avformat/tee: add forgotten ret assignment Fixes CID991840 Signed-off-by: Michael Niedermayer --- libavformat/tee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tee.c') diff --git a/libavformat/tee.c b/libavformat/tee.c index f41327bc7e..10787cad29 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -100,7 +100,7 @@ static int open_slave(AVFormatContext *avf, char *slave, AVFormatContext **ravf) av_dict_set(&options, "f", NULL, 0); } - avformat_alloc_output_context2(&avf2, NULL, format, filename); + ret = avformat_alloc_output_context2(&avf2, NULL, format, filename); if (ret < 0) goto fail; av_free(format); -- cgit v1.2.3