[FFmpeg-cvslog] lavf: set is_connected flag so url can be properly closed

Mariusz Szczepańczyk git at videolan.org
Wed Jun 24 15:40:43 CEST 2015


ffmpeg | branch: master | Mariusz Szczepańczyk <mszczepanczyk at gmail.com> | Tue Jun 23 03:35:16 2015 +0200| [346624be4aff582f881501c1215f1ca6d2c0e75c] | committer: Michael Niedermayer

lavf: set is_connected flag so url can be properly closed

Reviewed-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=346624be4aff582f881501c1215f1ca6d2c0e75c
---

 libavformat/avio.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/avio.c b/libavformat/avio.c
index bd32944..aff8d10 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -485,6 +485,7 @@ int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)
     if (ret < 0)
         goto fail;
 
+    h->is_connected = 1;
     ctx->url_context = h;
     *s = ctx;
     return 0;



More information about the ffmpeg-cvslog mailing list