avformat/tee: add forgotten ret assignment
Fixes CID991840 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1e41b8cd07
commit
5f476cfe6e
@ -100,7 +100,7 @@ static int open_slave(AVFormatContext *avf, char *slave, AVFormatContext **ravf)
|
|||||||
av_dict_set(&options, "f", NULL, 0);
|
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)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
av_free(format);
|
av_free(format);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user