Files
Michael Niedermayer c0b96fd9de avutil/framepool: provide a single copy for static builds
Both libavfilter and libswscale currently put framepool.o in their regular
OBJS, defining the same four ff_frame_pool_* symbols. Loading both static
archives in full therefore fails with multiple definitions.

Move the implementation and internal header to libavutil. Include the
object in its STLIBOBJS when either consumer is enabled, and use SHLIBOBJS
for the private copies in libavfilter and libswscale. This preserves
independent builds and shared-library symbol visibility without adding
an inter-library dependency or exposing a new public API.

Verified whole-archive links with both consumers, and with each consumer
configured independently. Shared builds pass fate-filter-rgbtestsrc-gbrp12
and fate-filter-rgbtestsrc-gbrap12; static and shared video scaling and
audio volume smoke tests produce identical frame checksums. Also checked
static consumers linked against shared dependencies.

Fixes: 6c89a30ecd
Fixes: #25419
Assisted-by: Fairy
(cherry picked from commit a3f1b1e87c)
2026-10-26 16:57:59 +00:00
..
2026-09-30 17:16:00 +00:00
2025-08-03 13:48:47 +02:00
2021-04-27 10:43:13 -03:00
2026-04-28 12:29:37 +00:00
2026-06-23 19:15:57 +02:00
…
2026-09-07 03:57:59 +00:00
2024-03-04 17:45:00 +01:00
…
2025-08-03 13:48:47 +02:00
2026-09-12 23:52:20 +00:00
2023-11-18 19:55:42 +01:00
2026-09-12 23:52:20 +00:00
2024-03-15 12:51:15 +01:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2026-01-18 03:33:04 +00:00
2026-09-12 23:52:20 +00:00
…
…
2025-08-03 13:48:47 +02:00
2024-06-01 18:05:58 +03:00
2025-08-03 13:48:47 +02:00
…
2021-07-21 16:35:27 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2024-03-31 00:08:43 +01:00
…
2026-10-06 13:31:37 +09:00
2025-09-02 17:05:50 +02:00
2026-10-06 13:31:37 +09:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
…
…
2021-07-22 14:34:31 +02:00
2024-01-16 01:34:57 +01:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2025-08-03 13:48:47 +02:00
…
…
2026-09-30 17:16:00 +00:00
…
2021-07-22 14:34:31 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2025-08-03 13:48:47 +02:00
2026-06-23 19:15:57 +02:00
2026-10-24 17:05:20 -03:00
2023-08-08 09:46:11 +02:00
2025-08-03 13:48:47 +02:00
…