]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tls_gnutls.c
ffmpeg_opt: Favor streams that had packets
[ffmpeg] / libavformat / tls_gnutls.c
index 942ece97ed67da74481808c8cfbbe354558291f6..6388f37a8e0f6368f148d07f3131a1addbe4b559 100644 (file)
@@ -87,7 +87,7 @@ static int tls_close(URLContext *h)
 {
     TLSContext *c = h->priv_data;
     if (c->need_shutdown)
-        gnutls_bye(c->session, GNUTLS_SHUT_RDWR);
+        gnutls_bye(c->session, GNUTLS_SHUT_WR);
     if (c->session)
         gnutls_deinit(c->session);
     if (c->cred)