Files
FFmpeg/libswscale
Niklas Haas 47f89ea88b swscale: explicitly track if a context is "legacy" or not
The legacy API is defined by sws_init_context(), sws_scale() etc., whereas
the "modern" API is defined by just using sws_scale_frame() without prior
init call.

This int allows us to cleanly distinguish the type of context, paving the
way for some minor refactoring.

As an immediate benefit, we now gain a bunch of explict error checks to
ensure the API is used correctly (i.e. sws_scale() not called before
sws_init_context()).

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
2026-03-06 19:06:33 +01:00
..
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-03-01 21:57:53 +00:00
2026-03-01 21:57:53 +00:00
2026-03-05 23:34:56 +00:00
2014-08-12 20:52:21 +02:00
2025-07-22 19:56:34 +02:00
2025-09-01 19:28:35 +02:00
2026-02-26 18:36:46 +00:00
2026-02-26 14:09:46 +01:00