diff options
Diffstat (limited to 'libavformat/icecast.c')
-rw-r--r-- | libavformat/icecast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/icecast.c b/libavformat/icecast.c index 7d8f92fe73..38af16b99e 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -75,8 +75,7 @@ static void cat_header(AVBPrint *bp, const char key[], const char value[]) static int icecast_close(URLContext *h) { IcecastContext *s = h->priv_data; - if (s->hd) - ffurl_close(s->hd); + ffurl_closep(&s->hd); return 0; } |