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

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


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

---

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

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

diff --git a/libavformat/Makefile b/libavformat/Makefile
index 8ea85ee828..396061ef46 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -344,7 +344,7 @@ OBJS-$(CONFIG_MXF_MUXER)                 += mxfenc.o mxf.o audiointerleave.o avc
 OBJS-$(CONFIG_MXG_DEMUXER)               += mxg.o
 OBJS-$(CONFIG_NC_DEMUXER)                += ncdec.o
 OBJS-$(CONFIG_NISTSPHERE_DEMUXER)        += nistspheredec.o pcm.o
-OBJS-$(CONFIG_NSP_DEMUXER)               += nspdec.o
+OBJS-$(CONFIG_NSP_DEMUXER)               += nspdec.o pcm.o
 OBJS-$(CONFIG_NSV_DEMUXER)               += nsvdec.o
 OBJS-$(CONFIG_NULL_MUXER)                += nullenc.o
 OBJS-$(CONFIG_NUT_DEMUXER)               += nutdec.o nut.o isom.o
-- 
2.23.0



More information about the ffmpeg-devel mailing list