[FFmpeg-devel] [PATCH 3/5] avformat/Makefile: add missing pcm dependency to hcom demuxer

Lou Logan lou at lrcd.com
Sat Nov 2 00:36:46 EET 2019


Signed-off-by: Lou Logan <lou at lrcd.com>

---

Fixes:
./configure --disable-everything --enable-demuxer=hcom && make
/usr/bin/ld: libavformat/libavformat.a(hcom.o):(.data.rel+0x58): undefined reference to `ff_pcm_read_packet'

---
 libavformat/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/Makefile b/libavformat/Makefile
index 615156c120..8ea85ee828 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -219,7 +219,7 @@ OBJS-$(CONFIG_H263_MUXER)                += rawenc.o
 OBJS-$(CONFIG_H264_DEMUXER)              += h264dec.o rawdec.o
 OBJS-$(CONFIG_H264_MUXER)                += rawenc.o
 OBJS-$(CONFIG_HASH_MUXER)                += hashenc.o
-OBJS-$(CONFIG_HCOM_DEMUXER)              += hcom.o
+OBJS-$(CONFIG_HCOM_DEMUXER)              += hcom.o pcm.o
 OBJS-$(CONFIG_HDS_MUXER)                 += hdsenc.o
 OBJS-$(CONFIG_HEVC_DEMUXER)              += hevcdec.o rawdec.o
 OBJS-$(CONFIG_HEVC_MUXER)                += rawenc.o
-- 
2.23.0



More information about the ffmpeg-devel mailing list