Commit 5f476cfe authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/tee: add forgotten ret assignment

Fixes CID991840
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1e41b8cd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment