mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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@gmx.at>
This commit is contained in:
parent
8f0f678f09
commit
346624be4a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user