[FFmpeg-devel] [PATCH v1] avformat/Makefile: fix error unresolved external symbol ff_dtls_protocol

toqsxw at gmail.com toqsxw at gmail.com
Wed Aug 6 18:06:01 EEST 2025


From: Wu Jianhua <toqsxw at outlook.com>

Introduced by 307983b292adb60c82e75c8e5e41deedc89efbf0

Use the following command line to reproduce the issue:
./configure --toolchain=msvc --as=nasm --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.44.0.windows.1



More information about the ffmpeg-devel mailing list