From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id D2A314EA52 for ; Sun, 13 Jul 2025 07:11:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A496268DCE9; Sun, 13 Jul 2025 10:10:24 +0300 (EEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 90C1168DCA9 for ; Sun, 13 Jul 2025 10:10:16 +0300 (EEST) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-747fba9f962so2793518b3a.0 for ; Sun, 13 Jul 2025 00:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752390615; x=1752995415; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pveUJd4ne+X9ZpCi9Oj+4yON4YP3Af1A24nILXW//Xw=; b=CCHQHgT8eu28oNo+D6XHxXcFF06mz6zzrA7y48OW+80/Gl7yIo3PDOe79xUOlsESHD /L7iQybd77ubnjj1JbBlo6KYgNYV9ofuz1lQucnqa0CMPfPcDipTSX32JegXoIZFMOsy AdnP7Zdcdg4Ii9SrwGhu+jV9NP/SEIcxfYmZOCKIurcjojw96DgVkT1d6xDs7aY/ycvz PS0/J9pLhzgC6pcWqp4Ej/ipBeum+nNvFm8gSFmbLl+kjldgOhJbvSQstriYlwZzVUKw spb1aUVbCPIbo/Fj0a6+b/eBF4YaSqCJZ3ZpJO0tyM7vPzbdzdf0VkKKlPKjhP2g1ilj I5zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752390615; x=1752995415; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pveUJd4ne+X9ZpCi9Oj+4yON4YP3Af1A24nILXW//Xw=; b=NycZFvwCPedSdgZAHotqxptDXZZNzb8jkdjeNpzcneCIBwerLbqR5GWPIOhlyZJNjP RYZKaohlm6Sdwb5US8axrbGt7H2wC+GEKSoQRMK6UTFX5ZAxQLrB8Pv06x6/7COhTxZ8 9bubyt3/vi1F9QCIXbECeC0PMeje7I6Cq0t6/WNaxEGBeoYO7LFTZuORM1m6eWqW627E QKH0M4m8g1EJ4/rJySBZ9EL9WZz+eJkZHVuizhrKGHFqSqywqVHfPtmWuy+BwE6JA1Kb YG586ccEHtQ3rlcFkz6dUmE7Tc5GKj8xOW10z/f9/MYrVGUD+HooYSkJta4kSgQR9MTu eMyw== X-Gm-Message-State: AOJu0Yzlv0ibgX6FALs48bJKQqFc5Zs7G49BZh4BJZokf4grm5z5IY91 IMS7rMyBkX7O8Pc3nJc6gNRqtOds5xUB6FqmlZ6EllTFVX49tkdURWILZluvEbl8 X-Gm-Gg: ASbGncsS4wm7zSvs/7waXvt1wcUKoSzecO2te4UMRHBA9iEYjbuXw0n6nJcI8Dv6fLm zlZC5WyCtmb99slpF5Zhlpj0n46dXVuKqgwHWP/0B1hNJoyL+wX33m+kt2NelvQF2wICjMy+skw 5VANN6YPo6p65BOIMjaLQvsEGFASn3bs+mKPDp9UvYYjWTe5YPqL/NzcL5uNRlnv2tuaar2NY9f lrCZJ0ebRlO2UNNVbMjQAdP1U0mRC1MMErJ8tPIMpjNUiIfr+48IoXGdqOWnwDMzaZfD+k18N/H 030SU3Va2QAsn5c2nqwEIyeyPqJP8qcOKDDAhoM8pmz0Xqnhz4RvX65hc9kA2axJYg0+lG2SoK4 YJQ6gvTMS5X+eb4y2rl1J4LKkws5a6afYmHCP2maay0A= X-Google-Smtp-Source: AGHT+IHRFRKLI6KwhDY8FvJ6F/6K2g5yoLExKqvn7UYyOjWT6xbgJFxm/AyPLmASdbsg3W43fY1VJw== X-Received: by 2002:a05:6a00:26d8:b0:749:eb:22c6 with SMTP id d2e1a72fcca58-74eb58f9435mr13174784b3a.1.1752390614562; Sun, 13 Jul 2025 00:10:14 -0700 (PDT) Received: from localhost.localdomain ([123.11.82.155]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-74eb9e07facsm8595591b3a.68.2025.07.13.00.10.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 13 Jul 2025 00:10:14 -0700 (PDT) From: Jack Lau X-Google-Original-From: Jack Lau To: ffmpeg-devel@ffmpeg.org Date: Sun, 13 Jul 2025 15:09:46 +0800 Message-ID: <20250713070950.10626-6-jacklau1222@qq.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250713070950.10626-1-jacklau1222@qq.com> References: <20250713070950.10626-1-jacklau1222@qq.com> MIME-Version: 1.0 X-Unsent: 1 Subject: [FFmpeg-devel] [PATCH v3 5/9] avformat/whip: free udp socket after dtls free X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Jack Lau Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: the SSL_shutdown in tls_close need call the url_bio_bwrite so we should keep udp still alive Signed-off-by: Jack Lau --- libavformat/whip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/whip.c b/libavformat/whip.c index e272254a6f..17a3cd0ea8 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -1865,12 +1865,12 @@ static av_cold void whip_deinit(AVFormatContext *s) av_freep(&whip->authorization); av_freep(&whip->cert_file); av_freep(&whip->key_file); - ffurl_closep(&whip->udp); ff_srtp_free(&whip->srtp_audio_send); ff_srtp_free(&whip->srtp_video_send); ff_srtp_free(&whip->srtp_rtcp_send); ff_srtp_free(&whip->srtp_recv); ffurl_close(whip->dtls_uc); + ffurl_closep(&whip->udp); } static int whip_check_bitstream(AVFormatContext *s, AVStream *st, const AVPacket *pkt) -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".