aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-19 15:09:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-19 15:09:10 +0100
commit5f476cfe6e388ae2b59a63ab34d8d014a780db5c (patch)
treea8b5196c055c2e50e62f53ace2bf7b8f7a55c9db
parent1e41b8cd072e4f738d9ef75b1ac310a9c8fbcc19 (diff)
downloadffmpeg-5f476cfe6e388ae2b59a63ab34d8d014a780db5c.tar.gz
avformat/tee: add forgotten ret assignment
Fixes CID991840 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/tee.c2
1 files changed, 1 insertions, 1 deletions
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);