summaryrefslogtreecommitdiff
path: root/libavformat/rtmpcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtmpcrypt.c')
-rw-r--r--libavformat/rtmpcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpcrypt.c b/libavformat/rtmpcrypt.c
index 253b8ca2ce..a835ab263f 100644
--- a/libavformat/rtmpcrypt.c
+++ b/libavformat/rtmpcrypt.c
@@ -240,7 +240,7 @@ static int rtmpe_close(URLContext *h)
RTMPEContext *rt = h->priv_data;
ff_dh_free(rt->dh);
- ffurl_close(rt->stream);
+ ffurl_closep(&rt->stream);
return 0;
}