aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/v4l2_fmt.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-02-07 15:09:18 +0100
committerNiklas Haas <git@haasn.dev>2023-02-07 15:11:49 +0100
commit62dfa546886d55109f0ba0afb1c13e59157e524c (patch)
tree62c3d65dac4843306385a28f622b48e00ff43fc1 /libavcodec/v4l2_fmt.c
parent58d6426870ed10e5eeed98418dc3b7b2d4efe2c6 (diff)
downloadffmpeg-62dfa546886d55109f0ba0afb1c13e59157e524c.tar.gz
avfilter/vf_libplacebo: fix format query
We need to construct the output format list separatedly from the input format list, because we need to adhere to two extra requirements: 1. Big-endian output formats are always unsupported (runtime error) 2. Combining 'vulkan' with an explicit out_format that is not supported by the vulkan frame allocation code is illegal and will crash (abort) As a free side benefit, this rewrite fixes a possible memory leak in the `fail` path that was present in the old code. Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libavcodec/v4l2_fmt.c')
0 files changed, 0 insertions, 0 deletions