Signed-off-by: Lou Logan <l...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to