[FFmpeg-cvslog] avformat/tee: add forgotten ret assignment
Michael Niedermayer
git at videolan.org
Tue Mar 19 15:15:16 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 19 15:09:10 2013 +0100| [5f476cfe6e388ae2b59a63ab34d8d014a780db5c] | committer: Michael Niedermayer
avformat/tee: add forgotten ret assignment
Fixes CID991840
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f476cfe6e388ae2b59a63ab34d8d014a780db5c
---
libavformat/tee.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/tee.c b/libavformat/tee.c
index f41327b..10787ca 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);
More information about the ffmpeg-cvslog
mailing list