PR #20428 opened by Jamaika1
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20428
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20428.patch

undefined reference to `ff_lavf_cbs_type_av1'
```
C:/gcc1520/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 
../lib\libavformat_x64.a(cbs.o):cbs.c:(.rdata$.refptr.ff_lavf_cbs_type_av1[.refptr.ff_lavf_cbs_type_av1]+0x0):
 undefined reference to `ff_lavf_cbs_type_av1'
```


>From 9ed7be87287af07d3142b7193ddab7e4ef793a9d Mon Sep 17 00:00:00 2001
From: Jamaika1 <lukaszc...@wp.pl>
Date: Thu, 4 Sep 2025 05:47:57 +0000
Subject: [PATCH] Fix: undefined reference to `ff_lavf_cbs_type_av1'

---
 libavformat/cbs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/cbs.h b/libavformat/cbs.h
index e4dc231001..c497d7452e 100644
--- a/libavformat/cbs.h
+++ b/libavformat/cbs.h
@@ -22,6 +22,7 @@
 #define CBS_PREFIX lavf_cbs
 #define CBS_WRITE 0
 #define CBS_TRACE 0
+#define CBS_AV1 0
 #define CBS_H264 0
 #define CBS_H265 0
 #define CBS_H266 0
-- 
2.49.1

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-le...@ffmpeg.org

Reply via email to