aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/input.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-10-10 12:16:44 +0200
committerNiklas Haas <git@haasn.dev>2024-11-21 12:49:56 +0100
commit2d077f9acda4946b3455ded5778fb3fc7e85bba2 (patch)
tree44ab5d5889e65b4067fbe54f4e7966a31f4c9f13 /libswscale/input.c
parent10d1be262126f1699a89b54cf5f23a5370c57cb5 (diff)
downloadffmpeg-2d077f9acda4946b3455ded5778fb3fc7e85bba2.tar.gz
swscale/internal: group user-facing options togetherHEADmaster
This is a preliminary step to separating these into a new struct. This commit contains no functional changes, it is a pure search-and-replace. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libswscale/input.c')
-rw-r--r--libswscale/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/input.c b/libswscale/input.c
index a298b92a05..9f9410f922 100644
--- a/libswscale/input.c
+++ b/libswscale/input.c
@@ -1563,7 +1563,7 @@ av_cold void ff_sws_init_input_funcs(SwsInternal *c,
planarX_YV12_fn *readAlpPlanar,
planarX2_YV12_fn *readChrPlanar)
{
- enum AVPixelFormat srcFormat = c->srcFormat;
+ enum AVPixelFormat srcFormat = c->opts.src_format;
*chrToYV12 = NULL;
switch (srcFormat) {