aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/luodatdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-09-04 23:43:04 -0300
committerJames Almer <jamrial@gmail.com>2022-09-07 20:37:54 -0300
commit068faf4f74ec51f0717a8cf5d11341dbfa807b78 (patch)
tree7f3de1cfced4c3a1a30d763eabc9cedffaa90768 /libavformat/luodatdec.c
parent3bc28e9d1ab33627cea3c632dd6b0c33e22e93ba (diff)
downloadffmpeg-068faf4f74ec51f0717a8cf5d11341dbfa807b78.tar.gz
avfilter/vf_scale: overwrite the width and height expressions with the original values
Instead of the potentially adjusted ones. Otherwise, if config_props() is called again and if using force_original_aspect_ratio, the already adjusted values could be altered again. Example command line scale=size=1920x1000:force_original_aspect_ratio=decrease:force_divisible_by=2 user value 1920x1000 -> 1920x798 on init_dict() -> 1918x798 on frame change when eval_mode == EVAL_MODE_INIT, which after e645a1ddb9 could be at the very first frame. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit d9e3cb7e73c77ccddc4d29ed5c1be3920f72c226)
Diffstat (limited to 'libavformat/luodatdec.c')
0 files changed, 0 insertions, 0 deletions