[FFmpeg-devel] [PATCH] avformat/Makefile: fix error unresolved external symbol ff_dtls_protocol (PR #20143)

jianhuaw code at ffmpeg.org
Wed Aug 6 20:19:35 EEST 2025


PR #20143 opened by jianhuaw
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20143
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20143.patch

Introduced by 307983b292adb60c82e75c8e5e41deedc89efbf0

Use the following command line to reproduce the issue:
./configure --toolchain=msvc --disable-asm --enable-ffmpeg \
--disable-everything --enable-decoder=vvc --enable-parser=vvc \
--enable-demuxer='vvc,mpegts' --enable-protocol='file,pipe' \
--enable-encoder='rawvideo,wrapped_avframe' \
--enable-muxer='rawvideo,md5,null'

Signed-off-by: Wu Jianhua <toqsxw at outlook.com>


From df5199c63f497a1d462c3b46eeaf2a091c1155d3 Mon Sep 17 00:00:00 2001
From: Wu Jianhua <toqsxw at outlook.com>
Date: Wed, 6 Aug 2025 04:40:48 +0800
Subject: [PATCH] avformat/Makefile: fix error unresolved external symbol
 ff_dtls_protocol

Introduced by 307983b292adb60c82e75c8e5e41deedc89efbf0

Use the following command line to reproduce the issue:
./configure --toolchain=msvc --disable-asm --enable-ffmpeg \
--disable-everything --enable-decoder=vvc --enable-parser=vvc \
--enable-demuxer='vvc,mpegts' --enable-protocol='file,pipe' \
--enable-encoder='rawvideo,wrapped_avframe' \
--enable-muxer='rawvideo,md5,null'

Signed-off-by: Wu Jianhua <toqsxw at outlook.com>
---
 libavformat/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/Makefile b/libavformat/Makefile
index c39c015e7d..2dc69315ab 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -717,6 +717,7 @@ TLS-OBJS-$(CONFIG_OPENSSL)               += tls_openssl.o
 TLS-OBJS-$(CONFIG_SECURETRANSPORT)       += tls_securetransport.o
 TLS-OBJS-$(CONFIG_SCHANNEL)              += tls_schannel.o
 OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o $(TLS-OBJS-yes)
+OBJS-$(CONFIG_DTLS_PROTOCOL)             += tls.o $(TLS-OBJS-yes)
 OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o ip.o
 OBJS-$(CONFIG_UDPLITE_PROTOCOL)          += udp.o ip.o
 OBJS-$(CONFIG_UNIX_PROTOCOL)             += unix.o
-- 
2.49.1



More information about the ffmpeg-devel mailing list