ffmpeg | branch: master | Mariusz Szczepańczyk <[email protected]> | 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 <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to