aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_encode.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-11-18 14:57:08 +0100
committerNiklas Haas <git@haasn.dev>2022-11-19 14:15:47 +0100
commit46a4cc460edfaff8e5b88198a7127a910a5ab72f (patch)
tree473534e80a7407fd9dfd72195620999a6a263b97 /libavcodec/vaapi_encode.c
parent05d390890a8b37add02fa8d742335006c7e67c9f (diff)
downloadffmpeg-46a4cc460edfaff8e5b88198a7127a910a5ab72f.tar.gz
avfilter/vf_libplacebo: fix normalize_sar calculation
This previous expression multiplied a constant (outlink->h) that was guaranteed to be 0 at this point, thus making it always a no-op. Fix the calculation, and also properly reset the SAR to 1:1 as is now necessary (the failure to do so previously hid this bug's existence).
Diffstat (limited to 'libavcodec/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions