[FFmpeg-devel] [PATCH 4/8] avcodec/Makefile: add missing ass dependency to ccaption decoder
Lou Logan
lou at lrcd.com
Tue Nov 5 01:45:03 EET 2019
Signed-off-by: Lou Logan <lou at lrcd.com>
---
Fixes:
./configure --disable-everything --enable-decoder=ccaption
/usr/bin/ld: libavcodec/libavcodec.a(ccaption_dec.o): in function `init_decoder':
ccaption_dec.c:(.text+0xa8): undefined reference to `ff_ass_subtitle_header'
/usr/bin/ld: libavcodec/libavcodec.a(ccaption_dec.o): in function `decode':
ccaption_dec.c:(.text+0x177b): undefined reference to `ff_ass_add_rect'
/usr/bin/ld: ccaption_dec.c:(.text+0x1956): undefined reference to `ff_ass_add_rect'
---
libavcodec/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 2b6fbbca2a..54862171f9 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -242,7 +242,7 @@ OBJS-$(CONFIG_BRENDER_PIX_DECODER) += brenderpix.o
OBJS-$(CONFIG_C93_DECODER) += c93.o
OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdec.o cavsdsp.o \
cavsdata.o
-OBJS-$(CONFIG_CCAPTION_DECODER) += ccaption_dec.o
+OBJS-$(CONFIG_CCAPTION_DECODER) += ccaption_dec.o ass.o
OBJS-$(CONFIG_CDGRAPHICS_DECODER) += cdgraphics.o
OBJS-$(CONFIG_CDXL_DECODER) += cdxl.o
OBJS-$(CONFIG_CFHD_DECODER) += cfhd.o cfhddata.o
--
2.23.0
More information about the ffmpeg-devel
mailing list