diff options
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r-- | libavformat/tee.c | 2 |
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); |