diff options
author | Niklas Haas <git@haasn.dev> | 2024-12-17 13:57:08 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-12-18 17:30:48 +0100 |
commit | e05a1bb87962f4ade57a2a9664356978a08485ce (patch) | |
tree | 7d996645d39a495170c5fd075999e113ada9c23e /libavcodec/vulkan_decode.c | |
parent | 2df655bc2cf8bc83e282a779b17192555860dc77 (diff) | |
download | ffmpeg-e05a1bb87962f4ade57a2a9664356978a08485ce.tar.gz |
swscale: fix documentation of sws_scale_frame()
Since its introduction, this function has claimed to return 0 on success, yet
never actually did so (until the introduction of the new graph based API). It
always returned the number of scaled lines, and continues to do so.
To avoid confusion, but also avoid regressing possible clients that relied on
the existing semantics, simply update the documentation to reflect the actual
behavior. Remain ambiguous about the exact interpretation of the return value
on account of the unfortunate difference in behavior between the legacy and
new scaling APIs.
Signed-off-by: Niklas Haas <git@haasn.dev>
Sponsored-by: Sovereign Tech Fund
Diffstat (limited to 'libavcodec/vulkan_decode.c')
0 files changed, 0 insertions, 0 deletions