From: Limin Wang <[email protected]>
Signed-off-by: Limin Wang <[email protected]>
---
libavformat/avio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 663789ec02..c1d10ee8c3 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -568,7 +568,6 @@ int avio_open_dir(AVIODirContext **s, const char *url,
AVDictionary **options)
fail:
av_free(ctx);
*s = NULL;
- ffurl_close(h);
return ret;
}
@@ -594,7 +593,6 @@ int avio_close_dir(AVIODirContext **s)
return AVERROR(EINVAL);
h = (*s)->url_context;
h->prot->url_close_dir(h);
- ffurl_close(h);
av_freep(s);
*s = NULL;
return 0;
--
2.21.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".