diff options
author | Niklas Haas <git@haasn.dev> | 2023-02-07 15:09:18 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-02-07 15:11:49 +0100 |
commit | 62dfa546886d55109f0ba0afb1c13e59157e524c (patch) | |
tree | 62c3d65dac4843306385a28f622b48e00ff43fc1 /libavcodec/mips/vp3dsp_init_mips.c | |
parent | 58d6426870ed10e5eeed98418dc3b7b2d4efe2c6 (diff) | |
download | ffmpeg-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/mips/vp3dsp_init_mips.c')
0 files changed, 0 insertions, 0 deletions